JDK1.3安装出现/lib/ld-linux.so.2: bad ELF interpreter: No such file or directory Done.
2015-04-03 10:06 潇湘隐者 阅读(12376) 评论(0) 编辑 收藏 举报今天是出道以来第一次安装JDK1.3,大学的时候接触的也已是JDK1.4,而且是在Red Hat Enterprise Linux Server release 6.6上,安装JDK1.3是由于软件组一个项目使用的一个老版本的WebLogic的原因,由于各种原因一直没有升级。
在安装过程中遇到了 /lib/ld-linux.so.2: bad ELF interpreter: No such file or directory错误。
./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.
由于操作系统是64位,而这个版本的JDK是32位的,需要安装一些32位的安装包。结果我安装过程中出现如下错误。
[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
如上所示,使用RPM安装缺少依赖。可以将两个包放在一起安装解决这个问题。当然最方便的是用yum安装。
[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]#
扫描上面二维码关注我
如果你真心觉得文章写得不错,而且对你有所帮助,那就不妨帮忙“推荐"一下,您的“推荐”和”打赏“将是我最大的写作动力!
本文版权归作者所有,欢迎转载,但未经作者同意必须保留此段声明,且在文章页面明显位置给出原文连接.