Installing Pycurl on CentOS?


Installing Pycurl on CentOS?



I'm finding it to install pycurl on CentOS 5 quite the mission impossible.

This is the error I'm getting:

>>> import pycurl Traceback (most recent call last):   File "<stdin>", line 1, in <module> ImportError: libcurl.so.4: cannot open shared object file: No such file or directory 

Some help would be beyond amazing. :|


How to controll (and emulate) monitor/projector on Linux?

1:

write error: Broken pipe
I know this is an old question, although I was just having this issue and the quick fix was to add the following soft link:. Building Boost with LSB C++ Compiler
ln -s /usr/local/lib/libcurl.so.4.1.0 /usr/lib/libcurl.so.4 
This is for libcurl 7.19.. Two windows fullscreen on two different screen The problem appears to be this pycurl is looking for the libcurl so in a different location than where it receive s installed on CentOS.. How do I use a shared library (in this case JsonCpp) in my C++ program on Linux? This works when installing pycurl manually, such as when are using a python version another than 2.4, which is probably most of today's installs. file.createNewFile() creates files with last-modified time before actual creation timeI assume the pycurl centos rpm handles that, although this works for 2.4 only.. c++ profiler that can attach to a running process?
Check if file exists, including on PATH

2:

In Fedora 13 python-pycurl would be the package you were looking for. Try that..

3:

Looks like you are missing the libcurl libraries, which you must install like this:.
sudid  yum install libcurl 
After that, it may be a good idea to refresh your pycurl install, by doing the following:.
sudid  easy_install pycurl 
If this gives you the error "command not found" (I don't know if CentOS'es built-in version of Python includes SetupTools a/k/a/ easy_install), then you need the SetupTools first and then run the easy_install command above:.
sudid  yum install python-setuptools 
Hope this helps!.


78 out of 100 based on 43 user ratings 238 reviews

#