centos使用rar解压文件时错误解决
转载http://www.2cto.com/os/201305/207590.html 安装软件:/lib/ld-linux.so.2: bad ELF interpreter解决 环境: $ uname -m&&uname -r x86_64 2.6.32-220.el6.x86_64 $ 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
转载 http://www.linuxidc.com/Linux/2013-04/82494.htm 安装libstdc++.so.6时有时候还会缺少依赖,如下
当在CentOS 6.2下执行某些命令时,有缺少共享库的报错: error while loading shared libraries: libstdc++.so.6: cannot open shared object file: No such file or directory 解决办法: 1、执行命令: yum whatprovides libstdc++.so.6, 然后会提示哪个安装包有这个库文件如下:
yum whatprovides libstdc++.so.6
Loaded plugins: aliases, changelog, downloadonly, fastestmirror, kabi, presto, refresh-packagekit, security, tmprepo, verify, : versionlock Loading support for CentOS kernel ABI Loading mirror speeds from cached hostfile
- base: centos.ustc.edu.cn
- centosplus: centos.ustc.edu.cn
- contrib: centos.ustc.edu.cn
- extras: centos.ustc.edu.cn
- updates: centos.ustc.edu.cn libstdc++-4.4.7-3.el6.i686 : GNU Standard C++ Library Repo : base Matched from: Other : libstdc++.so.6 2、然后执行:yum install libstdc++-4.4.7-3.el6.i686
转载 http://www.liumin.name/20100608/centos-5-yum-install-problem/ centos安装新软件时会出现软件冲突问题 解决方法如下: yum clean all rpm --rebuilddb yum update