/data/soft/monitor]# yum list
There was a problem importing one of the Python modules
required to run yum. The error leading to this problem was:
/usr/lib64/python2.6/site-packages/pycurl.so: undefined symbol: CRYPTO_set_locking_callback
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
[GCC 4.4.6 20110731 (Red Hat 4.4.6-3)]
If you cannot solve this problem yourself, please go to
the yum faq at:
上面的报错:
原因是因为yum要使用的python库被pycurl无法找到
执行
ldconfig -v | grep libcurl
发现有2个libcurl
执行下面三布就好:
阅读(1255) | 评论(0) | 转发(0) |