尬~
bashrc 中引入了 og 的 lib 变量,导致 yum 无法正常使用
export LD_LIBRARY_PATH=/data/opengauss/og5/lib
现象:
[shawnyan@centos7 ld.so.conf.d]$ 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.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, Jun 20 2023, 11:36:40)
[GCC 4.8.5 20150623 (Red Hat 4.8.5-44)]
If you cannot solve this problem yourself, please go to
the yum faq at:
http://yum.baseurl.org/wiki/Faq
[shawnyan@centos7 ld.so.conf.d]$ ldd /usr/lib64/python2.7/site-packages/pycurl.so
linux-vdso.so.1 => (0x00007ffcb45f4000)
libcurl.so.4 => /data/opengauss/og5/lib/libcurl.so.4 (0x00007f7a8d239000)
libpython2.7.so.1.0 => /lib64/libpython2.7.so.1.0 (0x00007f7a8ce6d000)
libpthread.so.0 => /lib64/libpthread.so.0 (0x00007f7a8cc51000)
libc.so.6 => /lib64/libc.so.6 (0x00007f7a8c883000)
libssl.so.1.1 => /data/opengauss/og5/lib/libssl.so.1.1 (0x00007f7a8c5f2000)
libcrypto.so.1.1 => /data/opengauss/og5/lib/libcrypto.so.1.1 (0x00007f7a8c12f000)
libz.so.1 => /data/opengauss/og5/lib/libz.so.1 (0x00007f7a8bf17000)
libdl.so.2 => /lib64/libdl.so.2 (0x00007f7a8bd13000)
libutil.so.1 => /lib64/libutil.so.1 (0x00007f7a8bb10000)
libm.so.6 => /lib64/libm.so.6 (0x00007f7a8b80e000)
/lib64/ld-linux-x86-64.so.2 (0x00007f7a8d6d1000)
「喜欢这篇文章,您的关注和赞赏是给作者最好的鼓励」
关注作者
【版权声明】本文为墨天轮用户原创内容,转载时必须标注文章的来源(墨天轮),文章链接,文章作者等基本信息,否则作者和墨天轮有权追究责任。如果您发现墨天轮中有涉嫌抄袭或者侵权的内容,欢迎发送邮件至:contact@modb.pro进行举报,并提供相关证据,一经查实,墨天轮将立刻删除相关内容。




