PDA

View Full Version : [ubuntu] installing PycURL 7.19



ko_aung
January 14th, 2009, 06:30 AM
Hi,

I'm using Ubuntu 8.10. I want to use some application which needs PycURL 7.19 installed.

I installed the Python-Devel from terminal


sudo aptitude install python-dev

and then tried to install PycURL by


sudo easy_install-2.5 pycurl

When I try to import PycURL from Python2.5, I'm getting this msg


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

Can anybody point out what I did wrong and how to solve it.

Regards,

ko_aung

ko_aung
January 14th, 2009, 08:32 AM
Solved ;)

I rm the libcurl files inside /usr/lib/ first.



cd /usr/lib
sudo rm libcurl.so.x


Then link again

sudo ln -s /usr/local/lib/libcurl.so.x /usr/lib/libcurl.so.x

I'm a beginner to Ubuntu and Linux. So, I don't know how to say it properly or what I did was correct or not. At least, I'm not having the problem importing from Python.

:D

Cheers !
ko_aung

kientt86
June 8th, 2010, 11:05 AM
I also have same problem,

I did the similar things (remove everything related to libcurl and create link again). It's working fine now.

But any one can explain me why?