zoukankan      html  css  js  c++  java
  • JDK1.3安装出现/lib/ld-linux.so.2: bad ELF interpreter: No such file or directory Done.

        今天是出道以来第一次安装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]# 

    image

  • 相关阅读:
    mvn package打包提示:Failed to execute goal org.apache.maven.plugins:maven-resources-plugin:3.2.0:resources
    [Android] 【手机定位他迹】最新破解版 ,解锁VIP会员,去除广告绿化等等
    Python编程:从入门到实践超清版及全书源代码
    Win11永久激活工具 (可激活win10) + 注册码+Win11 正式版发布 版本号22000.194
    通过命令为 Elementary OS 窗口添加最小化按钮
    inno setup 通过指针获取完整字符串(宽字节字符)
    竹子开花
    屋后有靠山生万福
    自然吸气和涡轮增压哪个好 按需选择是关键
    父母对钱的态度,影响孩子的一生
  • 原文地址:https://www.cnblogs.com/kerrycode/p/4389263.html
Copyright © 2011-2022 走看看