CentOS安装软件出现错误:bash: /usr/local/bin/rar: /lib/ld-linux.so.2: bad ELF interpreter: No such file or directory

CentOS安装软件出现错误:

bash: /usr/local/bin/rar: /lib/ld-linux.so.2: bad ELF interpreter: No such file or directory

google了一把才发现是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

posted @ 2014-05-15 11:00  非著名程序师  阅读(1575)  评论(0编辑  收藏  举报