zoukankan      html  css  js  c++  java
  • yum /usr/lib64/python2.7/site-packages/pycurl.so: undefined symbol: CRYPTO_num_locks

    yum
    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, Apr  2 2020, 13:16:51)
    [GCC 4.8.5 20150623 (Red Hat 4.8.5-39)]

    If you cannot solve this problem yourself, please go to
    the yum faq at:
      http://yum.baseurl.org/wiki/Faq

    解决方法:

    使用  ldconfig -p | grep curl  查看libcurl.so的链接情况
    [user01@node3 ~]$   ldconfig -p | grep curl
        libcurl.so.4 (libc6,x86-64) => /lib64/libcurl.so.4
        libcurl.so (libc6,x86-64) => /lib64/libcurl.so


    分别查看libcurl.so.4链接的文件

    ls -l /lib64/libcurl.so.4

    lrwxrwxrwx. 1 root root 16 May 21  2020 /lib64/libcurl.so.4 -> libcurl.so.4.3.0


    ls -l /lib64/libcurl.so

    lrwxrwxrwx. 1 root root 16 Sep 25 16:10 /lib64/libcurl.so -> libcurl.so.4.3.0


    删除其中高版本的

    删除之后使用命令ldconfig重新加载

    加载完成后使用ldconfig -p | grep curl查看libcurl.so的链接情况,保证只有一个libcurl.so.4

  • 相关阅读:
    3D集合图元:最小边界框/包围盒(boundingbox)
    vs2012下 error4996
    将自己的类封装为lib的方法
    3D特征:关于HFM和HBB
    C++的Matlab接口
    BigDataMini导论
    vs2012编译boost_1_54_0
    RGB_D_开发征程(使用Kinect)
    **PCD数据获取:Kinect+OpenNI+PCL对接(代码)
    PCL:全程详解 VS2010+PCL配置
  • 原文地址:https://www.cnblogs.com/emanlee/p/14376482.html
Copyright © 2011-2022 走看看