Linux Yum Fatal Python error: pycurl: libcurl link-time version is older than compile-time version

Vernard picture Vernard · Dec 29, 2012 · Viewed 12.7k times · Source

So this error is driving me crazy, I've search the web multiple times, ran a few things and no results. I get the following error when using yum.

[root@texas pycurl-7.19.0]# yum update
Fatal Python error: pycurl: libcurl link-time version is older than compile-timeversion
Aborted


[root@texas pycurl-7.19.0]# rpm -qa | grep pycurl
python-pycurl-7.19.0-8.el6.i686
[root@texas pycurl-7.19.0]# rpm -qa | grep curl
curl-7.19.7-26.el6_2.4.i686
libcurl-7.19.7-26.el6_2.4.i686
python-pycurl-7.19.0-8.el6.i686
[root@texas pycurl-7.19.0]# 




[root@texas /]# locate libcurl.so
/usr/lib/libcurl.so
/usr/lib/libcurl.so.4
/usr/lib/libcurl.so.4.1.1


[root@texas /]# locate pycurl
/usr/lib/python2.6/site-packages/pycurl-7.19.0-py2.6.egg-info
/usr/lib/python2.6/site-packages/pycurl.so
/usr/share/doc/python-pycurl-7.19.0

I've recompiled my directadmin build with curl and no change after that either. (I already had directadmin with curl working fine before)

Any help is appreciated.

Answer

level6 picture level6 · Jun 5, 2013

I have found that VMWare Toolkit caused this issue on CentOS VMs.

vi /etc/ld.so.conf.d/vmware-tools-libraries.conf

and add the following two lines at the top (assuming you're 64-bit):

/lib64 /usr/lib64

Save, and "ldconfig".