[CentOS]安装软件:/lib/ld-linux.so.2: bad ELF interpreter解决
环境:
[orangle@localhost Downloads]$ uname -m&&uname -r
x86_64
2.6.32-220.el6.x86_64
[orangle@localhost Downloads]$ cat /etc/redhat-release
CentOS release 6.2 (Final)
****************************************************************************************
使用的时候出现一个错误
bash: /usr/local/bin/rar: /lib/ld-linux.so.2: bad ELF interpreter: No such file or directory
是因为64位
系统中安装了32位程序
解决方法:
yum install glibc.i686
重新安装以后还有如下类系错误 再继续安装包
error while loading shared libraries: libstdc++.so.6: cannot open shared object file: No such file or directory
yum install libstdc++.so.6
本文详细介绍了在CentOS6.2环境下,遇到64位系统中安装32位程序引发的错误,并提供了相应的解决方法。通过执行`yum install glibc.i686`命令来解决问题。此外,还阐述了在安装过程中遇到的类似错误,如`error while loading shared libraries`,并成功通过`yum install libstdc++.so.6`命令进行了修复。
1113

被折叠的 条评论
为什么被折叠?



