如何在64位Linux red hat 6.2服务器上安装32位软件包

时间:2017-09-01 21:48:45

标签: linux oracle11g installation redhat rpm

我的操作系统是Red Hat 6.2服务器64位
我正在尝试为oracle 11要求安装软件包 并且无法安装i686包装。

示例

[root@redhat1 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 Signatu            re, key ID ec551f03: 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.i68            6
        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.i68            6
        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

OR

[root@redhat1 Packages]# rpm -Uvh compat-libstdc++-33-3.2.3-69.el6.i686.rpm

warning: compat-libstdc++-33-3.2.3-69.el6.i686.rpm: Header V3 RSA/SHA256 Signature, key ID fd431d51: NOKEY

error: Failed dependencies:

        libc.so.6 is needed by compat-libstdc++-33-3.2.3-69.el6.i686
        libc.so.6(GLIBC_2.0) is needed by compat-libstdc++-33-3.2.3-69.el6.i686
        libc.so.6(GLIBC_2.1) is needed by compat-libstdc++-33-3.2.3-69.el6.i686
        libc.so.6(GLIBC_2.1.3) is needed by compat-libstdc++-33-3.2.3-69.el6.i686
        libc.so.6(GLIBC_2.2) is needed by compat-libstdc++-33-3.2.3-69.el6.i686
        libc.so.6(GLIBC_2.3) is needed by compat-libstdc++-33-3.2.3-69.el6.i686
        libm.so.6 is needed by compat-libstdc++-33-3.2.3-69.el6.i686

OR

[root@redhat1 Packages]# rpm -Uvh glibc-2.12-1.47.el6.i686.rpm


warning: glibc-2.12-1.47.el6.i686.rpm: Header V3 RSA/SHA256 Signature, key ID fd431d51: NOKEY
error: Failed dependencies:

        libfreebl3.so is needed by glibc-2.12-1.47.el6.i686
        libfreebl3.so(NSSRAWHASH_3.12.3) is needed by glibc-2.12-1.47.el6.i686

我无法在红帽64位上安装i686 Packges。

1 个答案:

答案 0 :(得分:2)

理想情况下,您应该能够使用以下两个命令解决问题:

yum clean all
yum install glibc.i686

一个疑难解答提示可能是尝试

yum search libc.so.6

这些链接也可能有所帮助:

============================================== < / p>

附录:

您发布了以下附加信息:

yum install glibc.i686 Loaded plugins: product-id, security, subscription-manager Updating certificate-based repositories.
No package glibc.i686 available. Error: Nothing to do

这意味着您当前配置的repos都没有碰巧具有32位glibc运行时。

如果你有RedHat DVD,试试这个:

Installing 32 bit libraries (glibc) on 64 bit RHEL without using yum