Pat Barron on 24 Jan 2014 13:46:54 -0800

[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

Re: [PLUG] "command not found" errors with different distro. 32-bit vs 64-bit?

I just did a quick experiment with Ubuntu 12.04 LTS amd64 (as I don't have Mint handy).

When I started (from a fresh install), there was no /lib/ on my system. I did "apt-get install ia32-libs". After this finished, I then had a "/lib/". I then did "dpkg -S /lib/", and it told me that it was from the package "libc6:i386".

I think you will need to install at least that package (and any of it's dependencies) to make this work. After that, I would suspect "ldd" would at least work, and then you can chase down whatever other libraries are missing, if you don't want to take the full "ia32-libs" package.

Thinking about it more, the "file not found" error is making more sense (though it's still misleading), in that the file that is not found is the 32-bit dynamic linker....


On 1/24/2014 4:06 PM, Greg Helledy wrote:

Do you have CONFIG_IA32_EMULATION enabled in your kernel?  (zcat
/proc/config.gz | grep CONFIG_IA32_EMULATION should tell you -
assuming your kernel enables /proc/config.gz).

I don't have a config.gz in /proc.

As an aside, I think I need to add to my path/environment. What's a standard path file for a debian/ubuntu/mint system (location and contents)?

Also - do you have a /lib/ of some sort on your system
(might be in /lib32, or wherever your distro sticks 32-bit libraries)?
  Mine is /lib32/  If you're missing that you won't be
running anything 32-bit, and you need to install whatever package
provides it.  It is entirely possible that 32-bit support is not
installed by default in your distro - little requires it these days.
I could see them including it in the kernel but not installing the
linker, since the latter is just a few files that need to be

I have /lib and /lib64, but no /lib32. /lib does not contain any ld-linux* file.

dpkg --print-foreign-archictectures

I thought it was finally time to go 64-bit but maybe that was a mistake?

-- NOTICE - This communication may contain confidential and privileged
information that is for the sole use of the intended recipient. Any
viewing, copying of distribution of, or reliance on this message by
unintended recipients is strictly prohibited. If you have received this
message in error, please notify us immediately by replying to the
message and deleting it from your computer.

Philadelphia Linux Users Group         --
Announcements -
General Discussion  --

Philadelphia Linux Users Group         --
Announcements -
General Discussion  --