CentOS undefined symbol:crypto_set_locking_callback when using Yum to install software

Source: Internet
Author: User

1. Questions

using Yum to install the software under CentOS, the following error message appears :

# yum Install
There was a problem importing one of the Python modules
Required to run Yum. The error leading to this problem was:

/usr/lib/python2.6/site-packages/pycurl.so:undefined Symbol:crypto_set_locking_callback

Install a package which provides this module, or
Verify 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, Jan 22 2014, 09:37:14)
[GCC 4.4.7 20120313 (Red Hat 4.4.7-4)]

If You cannot solve this problem yourself and go to
The Yum FAQ at:
Http://yum.baseurl.org/wiki/Faq

2. View current Environment variables

# env | grep LD
Oldpwd=/root
Ld_library_path=:/usr/local/lib

The directory of the Run-time link library was set by me as the/usr/local/lib.

To cancel this run-time link library try:

# export-n Ld_library_path

# yum Install BusyBox
Loaded plugins: Fastestmirror
Set up the installation process
Loading mirror speeds from cached hostfile
* Base:mirrors.btte.net
* extras:mirrors.opencas.cn
* updates:mirror.bit.edu.cn
Base | 3.7 KB 00:00
Extras | 3.4 KB 00:00
Updates | 3.4 KB 00:00
Resolving dependencies
--Perform a transaction check
---> Package busybox.i686 1:1.15.1-21.el6_6 'll be installed
Complete dependency Calculation

.

.

.

This is really the problem with this link library.

3. Analysis:

Should be a module of the Yum-dependent Python module. However, when loading, the wrong directory is found, the result is the wrong module to load the link library.

CentOS has undefined symbol:crypto_set_locking_callback when installing software with Yum

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.