pycurl.so: undefined symbol解决方法
来源:互联网 发布:macbook视频拼接软件 编辑:程序博客网 时间:2024/06/07 12:52
问题:
$ sudo yum search pygame
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
current version of Python, which is:
2.6.6 (r266:84292, Aug 18 2016, 15:13:37)
[GCC 4.4.7 20120313 (Red Hat 4.4.7-17)]
If you cannot solve this problem yourself, please go to
the yum faq at:
http://yum.baseurl.org/wiki/Faq
---------------------------------------------------------------------------------------------------------------
问题原因:
1- $: ldd /usr/lib64/python2.6/site-packages/pycurl.so
[pea@pea wget]$ ldd /usr/lib64/python2.6/site-packages/pycurl.so
linux-vdso.so.1 => (0x00007fffccc93000)
libcurl.so.4 => /usr/lib/libcurl.so.4 (0x00007eff3c489000) (问题所在)
libpython2.6.so.1.0 => /usr/lib64/libpython2.6.so.1.0 (0x00007eff3c0e2000)
libpthread.so.0 => /lib64/libpthread.so.0 (0x00007eff3bec5000)
libc.so.6 => /lib64/libc.so.6 (0x00007eff3bb31000)
librt.so.1 => /lib64/librt.so.1 (0x00007eff3b928000)
libdl.so.2 => /lib64/libdl.so.2 (0x00007eff3b724000)
libutil.so.1 => /lib64/libutil.so.1 (0x00007eff3b521000)
libm.so.6 => /lib64/libm.so.6 (0x00007eff3b29c000)
/lib64/ld-linux-x86-64.so.2 (0x00007eff3c8f7000)
解决方案:
cd /usr/lib
sudo rm libcurl.so.4sudo ln -s /usr/lib64/libcurl.so.4.1.1 /usr/lib/libcurl.so.4
- pycurl.so: undefined symbol解决方法
- 运行yum提示pycurl.so undefined symbol: CRYPTO_set_locking_callback
- auth-plug.so: undefined symbol: EVP_MD_CTX_free 解决方法
- /usr/lib64/python2.6/site-packages/pycurl.so: undefined symbol: CRYPTO_set_l
- /usr/lib/python2.6/site-packages/pycurl.so: undefined symbol: CRYPTO_set_locking_callback
- /usr/lib64/python2.6/site-packages/pycurl.so: undefined symbol: CRYPTO_set_locking_callback
- 编译curl后yum提示pycurl.so: undefined symbol: CRYPTO_set_locking_callback错误
- 源码安装libcurl后yum出错,pycurl.so: undefined symbol: CRYPTO_set_locking_callback
- 'OSError: .*.so: undefined symbol'
- libqxcb.so: undefined symbol: XIQueryVersion
- mtrand.so: undefined symbol: PyFPE_jbuf
- _openssl.so: undefined symbol: OPENSSL_sk_num
- _cffi_backend.so: undefined symbol: PyUnicodeUCS4_AsASCIIString
- _caffe.so: undefined symbol: _ZN5caffe4mtx_E
- ImportError–usr-lib-liblapack.so.3- undefined symbol- ATL_chemv 解决方法
- The symbol is ""undefined 解决方法
- libQtCore.so.4 undefined symbol :g_main_context_push_thread_default
- [错误]libbx_x.so: undefined symbol: XpmCreatePixmapFromData
- 如何理解Iaas、Paas、Saas
- mybatis学习笔记(五) --- 一对多关联
- webservice快速入门-使用JAX-WS注解的方式快速搭建ws服务端和客户端(一)
- tf.Graph.name_scope
- Scala implicit
- pycurl.so: undefined symbol解决方法
- 【OpenCV】1st-打开图像
- 交互设计是什么?
- LeetCode No.91 Decode Ways
- 解决"打包成功后的apk点击程序出现白屏,不能进入界面"的问题
- wsdl详解
- 常用正则表达式
- 标签onclick事件传参错误
- python报错MemoryError