pycurl.so: undefined symbol: CRYPTO_num_locks

Background

  • 此次错误是由yum抛出的,本来是正常的,安装了MATLAB Runtime后yum就不能用了,抛出了该错误。
  • 具体错误信息如下图所示

在这里插入图片描述

1、问题排查

ldd /usr/lib64/python2.7/site-packages/pycurl.so | grep curl

在这里插入图片描述

2、原因分析

matlab-mcr相关库的影响。

3、解决方法

# 修改配置文件
tee -a /etc/profile <<-'EOF'

# erase effect of matlab-mcr libs
export LD_LIBRARY_PATH=/usr/lib64:/usr/lib:$LD_LIBRARY_PATH
EOF
source /etc/profile

在这里插入图片描述

猜你喜欢

转载自blog.csdn.net/qq_42761569/article/details/128537021