libgcc_s.so.1: cannot open shared object file: No such file or directory

在centos64系统上使用了rpm -e --nodeps卸载软件后,使用yum命令报如下错误:
There was a problem importing one of the Python modules
required to run yum. The error leading to this problem was:

   libgcc_s.so.1: cannot open shared object file: No such file or directory

Please install a package which provides this module, or
verify that the module is installed correctly.

It's possible that the above module doesn't match the
current version of Python, which is:
2.6.6 (r266:84292, Jan 22 2014, 09:42:36) 
[GCC 4.4.7 20120313 (Red Hat 4.4.7-4)]

网上说python版本冲突,检查后不是!

解决办法:在其他centos64系统上拷贝/lib64文件夹下libgcc_s.so.1这个文件到本机器上即可!

你可能感兴趣的:(linux)