curl-library
Re: pycurl import problem with Python 2.2.2
Date: 06 Jan 2003 12:41:38 +0100
On Thu, 2003-01-02 at 19:57, Bryan Richard wrote:
> When I attempt to import pycurl I get the following,
>
> Python 2.2.2 (#1, Nov 14 2002, 14:17:59)
> [GCC 2.95.3 20010315 (SuSE)] on linux2
> Type "help", "copyright", "credits" or "license" for more information.
> >>> import pycurl
> Traceback (most recent call last):
> File "<stdin>", line 1, in ?
> ImportError: /usr/local/lib/python2.2/site-packages/pycurl.so: undefined
> symbol: curl_multi_cleanup
> >>>
>
> Pycurl 7.10.2 with Python 2.2.2. I've seen in the docs that it was built
> for 2.2.1 but I don't think Python is the problem.
>
> Also running the lastest libcurl,
>
> root -> /usr/local/bin/ $ ./curl-config --version
> libcurl 7.10.2
>
> I suspect I have something config'd wonky but I can't really say what it
> is. Any ideas?
have you tried building pycurl with curl-config set explicitly?
for instance, to use the curl-config installed in /usr/local/bin:
python setup.py install --curl-config=/usr/local/bin/curl-config
if this does not help, try doing:
ldd /usr/local/lib/python2.2/site-packages/pycurl.so
... to check that pycurl.so is linked with the correct libraries.
regards,
- kjetil
-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
Received on 2003-01-06