码迷,mamicode.com
首页 > 其他好文 > 详细

执行yum命令时报错

时间:2015-09-02 19:12:56      阅读:197      评论:0      收藏:0      [点我收藏+]

标签:yum

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/

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

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

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

执行yum命令时报错

标签:yum

原文地址:http://leyin01.blog.51cto.com/9062123/1690779

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!