LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Fedora (https://www.linuxquestions.org/questions/fedora-35/)
-   -   YUM: undefined symbol: CRYPTO_set_locking_callback (https://www.linuxquestions.org/questions/fedora-35/yum-undefined-symbol-crypto_set_locking_callback-839211/)

jjmcfoot 10-20-2010 03:05 AM

YUM: undefined symbol: CRYPTO_set_locking_callback
 
Hi guys,

I'm using Fedora 13 and I have a problem running Yum. When I execute any Yum command (even using no syntax), it errors out with the below text:


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

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.4 (r264:75706, Jun 4 2010, 18:20:16)
[GCC 4.4.4 20100503 (Red Hat 4.4.4-2)]

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


I have made sure there is only one version of pycurl.so on my box. I've tried uninstalling the RPM that provides it and reinstalling. I've tried uninstalling and reinstalling the below rpm's:

gcc
libcurl
python
yum
python-libs
python-pycurl


Below is the versions of each of the above mentioned packages installed on my box:

gcc-4.4.4-2.fc13.i686
libcurl-7.20.1-4.fc13.i686
libcurl-7.20.1-4.fc13.i686
python-2.6.4-27.fc13.i686
python-libs-2.6.4-27.fc13.i686
python-pycurl-7.19.0-7.fc13.i686


Here is the output if I do a find for all installed instances of the lib in question:

# find / -iname pycurl.so -print
/usr/lib/python2.6/site-packages/pycurl.so


I also cannot import the lib in python and get a similar message:

>>> import pycurl.so
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
ImportError: /usr/lib/python2.6/site-packages/pycurl.so: undefined symbol: CRYPTO_set_locking_callback


Any thoughts?

Thanks!
Justin

jjmcfoot 10-20-2010 11:53 PM

bump :D

TheRealDeal 10-21-2010 12:02 AM

Do you have Networker installed? If so, uninstall it, remove all Networker RPM's and see if it is still broken.

Please let me know how you get on with this.

Also, do an strace on the yum command, you'll probably see it pointing to the problem package or file...

open("/usr/lib/nsr/libcurl.so.4", O_RDONLY) = 9

nsr = Networker.

jjmcfoot 10-21-2010 12:24 AM

Cool thanks! I do have NetWorker installed actually.

I grepped for nsr from the strace output and found the same library. I moved the NetWorker lib and Yum now works fine.

NetWorker also seems to work ok (so far) with the standard os libs, so we'll see how I go.

Fixed! Thanks!

Glennzo 10-21-2010 04:47 AM

What is NetWorker? Off to Google it but if someone can fill me in ...

Some backup software?


All times are GMT -5. The time now is 06:09 AM.