11 National Day holiday back, a colleague encountered a problem is in Redhat 6 under the installation of software will be reported/lib/ld-linux.so.2:bad ELF interpreter:no such file or directory error.
After the query is required to install glibc-2.12-1.149.el6.i686.rpm a 32bit package, here is a common operation of the program pit, his project group software in the software initialization, is the use of 32bit package. However, the 64bit package is installed by default at Redhat. And the Yum installation will prompt you to install the latest version. So you need to manually install the 32bit package
[Email protected] packages]# RPM-IVH glibc-2.12-1.149.el6.i686.rpm
Warning:glibc-2.12-1.149.el6.i686.rpm:header V3 rsa/sha256 Signature, key ID Fd431d51:nokey
error:failed dependencies:
Libfreebl3.so is needed by glibc-2.12-1.149.el6.i686
Libfreebl3.so (nssrawhash_3.12.3) is needed by glibc-2.12-1.149.el6.i686
This will be reported missing a dependency package nss-softokn-freebl-3.14.3-17.el6.i686.rpm
[Email protected] packages]# RPM-IVH nss-softokn-freebl-3.14.3-17.el6.i686.rpm
Warning:nss-softokn-freebl-3.14.3-17.el6.i686.rpm:header V3 rsa/sha256 Signature, key ID Fd431d51:nokey
error:failed dependencies:
Libc.so.6 is needed by nss-softokn-freebl-3.14.3-17.el6.i686
Libc.so.6 (glibc_2.0) is needed by nss-softokn-freebl-3.14.3-17.el6.i686
Libc.so.6 (glibc_2.1) is needed by nss-softokn-freebl-3.14.3-17.el6.i686
Libc.so.6 (glibc_2.1.3) is needed by nss-softokn-freebl-3.14.3-17.el6.i686
Libc.so.6 (glibc_2.3) is needed by nss-softokn-freebl-3.14.3-17.el6.i686
Libc.so.6 (glibc_2.3.4) is needed by nss-softokn-freebl-3.14.3-17.el6.i686
Libc.so.6 (glibc_2.4) is needed by nss-softokn-freebl-3.14.3-17.el6.i686
Libc.so.6 (glibc_2.7) is needed by nss-softokn-freebl-3.14.3-17.el6.i686
Libdl.so.2 is needed by nss-softokn-freebl-3.14.3-17.el6.i686
Libdl.so.2 (glibc_2.0) is needed by nss-softokn-freebl-3.14.3-17.el6.i686
Libdl.so.2 (glibc_2.1) is needed by nss-softokn-freebl-3.14.3-17.el6.i686
As shown above, installation with RPM is missing dependencies. Two packages can be installed together to solve this problem. Of course, it is best to install with Yum.
[Email protected] packages]# RPM-IVH glibc-2.12-1.149.el6.i686.rpm nss-softokn-freebl-3.14.3-17.el6.i686.rpm
Warning:glibc-2.12-1.149.el6.i686.rpm:header V3 rsa/sha256 Signature, key ID Fd431d51:nokey
Preparing ... ########################################### [100%]
1:nss-softokn-freebl ########################################### [50%]
2:GLIBC ########################################### [100%]
Force the installation if not yet
[Email protected] packages]# RPM-IVH glibc-2.12-1.1 49.el6.i686.rpm--nodeps--force
This article is from the "Old White blog" blog, please be sure to keep this source http://laobaiv1.blog.51cto.com/2893832/1973366
Linux Software Installation times/lib/ld-linux.so.2:bad ELF interpreter:no such file or directory