If you try to build the lastest pycurl (7.19.0) on MacOS 10.6 you may get the following errors:
i686-apple-darwin10-gcc-4.2.1: /usr/lib/libcurl.a: No such file or directory
powerpc-apple-darwin10-gcc-4.2.1: /usr/lib/libcurl.a: No such file or directory
i686-apple-darwin10-gcc-4.2.1: /usr/lib/libcurl.a: No such file or directory
The problem is that setup.py is calling curl-config (as it should) and requesting the static libs as well as the shared ones. MacOS X doesn’t *have* the static libs by default (and you don’t need them), so you can comment out that line from setup.py and everything should work (in add_libdirs()).
2 responses so far ↓
1 Mac os x 10.6.2 ??? pycurl ?????? // Jun 12, 2010 at 10:22 am
[...] ?????Building pycurl on MacOS 10.6? [...]
2 nbastin // Jun 12, 2010 at 10:56 am
The first pingback is actually a chinese translation of this post on another blog, but something in the pingback system apparently doesn’t like Unicode.
You must log in to post a comment.