There was a problem importing one of the Python modules

required to run yum. The error leading to this problem was:


   libssl.so.6: cannot open shared object file: No such file or directory

   (libcrypto.so.6: 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, Nov 22 2013, 12:16:22) 

[GCC 4.4.7 20120313 (Red Hat 4.4.7-4)]


If you cannot solve this problem yourself, please go to 

the yum faq at:

  http://yum.baseurl.org/wiki/Faq


执行yum操作时,报这个错误,是由于缺少libssl.so.6,libcrypto.so.6这两个模块所致


解决方法:

cd /usr/lib64/

sudo ln -s libssl.so.1.0.1e libssl.so.6

sudo ln -s libcrypto.so.1.0.1e libcrypto.so.6

做两个软连接至此模块即可。