|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?|
When I started (from a fresh install), there was no /lib/ld-linux.so on my system. I did "apt-get install ia32-libs". After this finished, I then had a "/lib/ld-linux.so.2". I then did "dpkg -S /lib/ld-linux.so.2", 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....
--Pat. 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/ld-linux.so of some sort on your system (might be in /lib32, or wherever your distro sticks 32-bit libraries)? Mine is /lib32/ld-2.17.so. 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 installed.I have /lib and /lib64, but no /lib32. /lib does not contain any ld-linux* file.OTOH: dpkg --print-foreign-archictectures i386 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 -- http://www.phillylinux.orgAnnouncements - http://lists.phillylinux.org/mailman/listinfo/plug-announceGeneral Discussion -- http://lists.phillylinux.org/mailman/listinfo/plug
___________________________________________________________________________ Philadelphia Linux Users Group -- http://www.phillylinux.org Announcements - http://lists.phillylinux.org/mailman/listinfo/plug-announce General Discussion -- http://lists.phillylinux.org/mailman/listinfo/plug