curl-and-python

PyCurl: Fatal Error

From: Josh Kersey <josh_at_cabedge.com>
Date: Thu, 2 Apr 2009 15:26:54 -0500

Just updated to python2.6 on rhel5. Unfortunately I have to leave
current curl build in place for other dependencies. I successfully
compiled curl and pycurl from source and sym linked libcurl.so.4 into /
usr/lib64. I am able to use the python interpreter to import pycurl
with no issues. However, when I attempt to run a python script that
also uses python I receive an error in my apache log - "Fatal Python
error: pycurl: libcurl link-time version is older than compile-time
version"

curl --version:
curl 7.19.4 (x86_64-unknown-linux-gnu) libcurl/7.19.4 OpenSSL/0.9.8b
zlib/1.2.3 libidn/0.6.5

I don't understand why I'm able to import pycurl correctly in
interpreter, but within a script it fails. Any insight would be
appreciated.

Josh Kersey {scarecrow}
cabedge.com | 615-550-2407

_______________________________________________
http://cool.haxx.se/cgi-bin/mailman/listinfo/curl-and-python
Received on 2009-04-02