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]#