Missing Linux Libraries
We often get a support call from clients who get an error message about missing libraries on their Linux box.
../tools/COMINSTALL: ../tools/unzip: /lib/ld-linux.so.2: bad ELF interpreter: No such file or directory
The solution for this problem is to use the yum command to find the missing libraries and install them. Here is the procedure..
yum search glibc Loaded plugins: fastestmirror, refresh-packagekit, security Loading mirror speeds from cached hostfile * base: mirror.sigmanet.com * extras: repos-lax.psychz.net * updates: mirror.keystealth.org ================================================ N/S Matched: glibc glibc-common.x86_64 : Common binaries and locale data for glibc compat-glibc.x86_64 : Compatibility C library compat-glibc-headers.x86_64 : Header files for development using standard C libraries. .....Once you find the name of the missing library, you can go ahead and install it using the following command.
yum install glibc.i686The installation will start and complete after a few seconds. There should be a message that the installation completed like the following.
Installed: glibc.i686 0:2.12-1.209.el6_9.2 Dependency Installed: nss-softokn-freebl.i686 0:3.14.3-23.3.el6_8 Complete!
Other Common Missing Libraries
When running some our tools on Linux, clients may get error messages related to missing libraries.
../bin/mmask: error while loading shared libraries: libncurses.so.5: cannot open shared object file: No such file or directory yum search curses yum install ncurses-libs.i686
hagai@asmsc45 examples]$ ../bin/mmask -h ../bin/mmask: error while loading shared libraries: libtermcap.so.2: cannot open shared object file: No such file or directory yum search libterm yum install compat-libtermcap.i686
./bin/mmask -h ../bin/mmask: error while loading shared libraries: libg2c.so.0: cannot open shared object file: No such file or directory yum search libf2c yum install compat-libf2c-34.i686
If you happen to install some libraries in an empty folder you created, please make sure you add this folder to the variable LD_LIBRARY_PATH by going to this folder and typing...
ARTWORK CONVERSION SOFTWARE, INC. Company Profile
417 Ingalls St., Santa Cruz, CA 95060 Tel (831) 426-6163 Fax 426-2824 email: email@example.com