Linux Software Installation times/lib/ld-linux.so.2:bad ELF interpreter:no such file or directory

Source: Internet
Author: User

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

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.