JDK1.3 installation appears/lib/ld-linux.so.2: bad ELF interpreter: No such file or directory Done., badelfinterpreter

Source: Internet
Author: User

JDK1.3 installation appears/lib/ld-linux.so.2: bad ELF interpreter: No such file or directory Done., badelfinterpreter

JDK1.3 was installed for the first time since its debut. It was already known as JDK1.4 when I was in college, and it was on Red Hat Enterprise Linux Server release 6.6, JDK1.3 is installed because an old version of WebLogic is used by a project in the software group. It has not been upgraded for various reasons.

The/lib/ld-linux.so.2: bad ELF interpreter: No such file or directory error was encountered during installation.

./j2sdk-1_3_1_20-linux-i586.bin: ./install.sfx.8794: /lib/ld-linux.so.2: bad ELF interpreter: No such file or directory
Done.


Because the operating system is 64-bit and JDK of this version is 32-bit, some 32-bit installation packages need to be installed. As a result, the following error occurs during installation.

[root@gettestlnx05 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

 

[root@gettestlnx05 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, there is no dependency for installing with RPM. You can install the two packages together to solve this problem. Of course, yum is the most convenient installation.

[root@gettestlnx05 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%]
[root@gettestlnx05 Packages]# 

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.