openssl强制升级后openssl后yum,wget等都不能用libssl.so.10缺失的问题

浏览次数:1426

现象:error while loading shared libraries: libssl.so.10: cannot open shared object file: 
或者:There was a problem importing one of the Python modules
required to run yum. The error leading to this problem was:

  libssl.so.10: 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, Jun 18 2012, 14:18:47) 
[GCC 4.4.6 20110731 (Red Hat 4.4.6-3)]
处理方法:

1、从openssl升级文件夹找到编译好的libssl.so.1.0.0,libcrypto.so.1.0.0两个文件复制到/usr/lib64/下
2、输入如下命令添加软连接
ln -s /usr/lib64/libssl.so.1.0.0 libssl.so.10
ln -s /usr/lib64/libcrypto.so.1.0.0 libcrypto.so.10