views:

45

answers:

1

I am working on porting a python application to Mac OS X. The application makes use of pycurl and PyCDF.

When I run my code, I get this error :

> File
> "/Library/Python/2.5/site-packages/pycdf/pycdfext.py",
> line 5, in <module>
>     import _pycdfext ImportError: dlopen(/Library/Python/2.5/site-packages/pycdf/_pycdfext.so,
> 2): Symbol not found:
> _curl_easy_cleanup   Referenced from: /Library/Python/2.5/site-packages/pycdf/_pycdfext.so
> Expected in: dynamic lookup

I tried installing different versions of curl, pycurl with different configs of libcurl. Still stuck Platform : 10.5.8 Curl : 7.19.4 [also tried 7.20.1] Pycurl : 7.19.0

How do I fix this error?

A: 

You're obviously not having libcurl installed or installed somewhere that this setup doesn't find it.

curl_easy_cleanup() is a vital function in libcurl that has always existed. (Meaning it isn't a question of a wrong version or something.)

Daniel Stenberg