当我尝试百胜更新时,会出现以下错误:
# yum update
There was a problem importing one of the Python modules
required to run yum. The error leading to this problem was:
/usr/lib64/python2.7/site-packages/pycurl.so: undefined symbol: CRYPTO_num_locks
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.7.5 (default, Oct 30 2018, 23:45:53)
[GCC 4.8.5 20150623 (Red Hat 4.8.5-36)]
我已经尝试重建curl并取消链接/usr/lib64/libcurl.so.4 但是以某种方式lubcurl.so.4链接会自动返回。
这是我的libcurl库:
# ls -lsa /usr/lib64/*curl*
0 lrwxrwxrwx 1 root root 16 Mar 11 07:57 /usr/lib64/libcurl.so -> libcurl.so.4.3.0
0 lrwxrwxrwx 1 root root 16 Apr 7 19:51 /usr/lib64/libcurl.so.4 -> libcurl.so.4.3.0
428 -rwxr-xr-x 1 root root 435192 Nov 4 16:55 /usr/lib64/libcurl.so.4.3.0