On 28 Feb, 2008, at 12:49, DavidW wrote:
Hi Ronald, Thanks for replying. On 28/02/2008, at 9:18 PM, Ronald Oussoren wrote:Which version of python are you using? The Python.org installer builds extensions using the 10.4 SDK to ensure that extensions will actually run on that platform.Python 2.4.3 (#1, Mar 30 2006, 11:02:16) [GCC 4.0.1 (Apple Computer, Inc. build 5250)] on darwinBTW. What I don't undestand is why building PIL tries to link libcrypto. Do you have a libcrypto dylib in /usr/local/lib? If so, what is the output of the file command on that? (file /usr/local/lib/ libcrypto*). It seems that the libcrypto that's linked into the extension is PPC-only, while distutils tries to build a 32-bit universal binary.you guessed it! Macintosh:SDKs drw$ file /usr/local/lib/libcr* /usr/local/lib/libcrypto.0.9.7.dylib: Mach-O dynamically linked shared library ppc Now I'm wondering what to do. This is an intel macbook. upgrade from OSX 10.4.11 to 10.5 was ?ok? but things got stuffed up when trying to implement the 10.5.1 upgrade. Recommendation?
I don't know what installed libcrypto in /usr/local/lib and hence don't know if it is save to remove.
You could move it (or all of /usr/local) aside while building pil and restore it afterwards.
I'd try to find out what installed /usr/local/lib/libcrypto* and reinstall it as a universal or x86 library.
Ronald
smime.p7s
Description: S/MIME cryptographic signature
_______________________________________________ Pythonmac-SIG maillist - Pythonmac-SIG@python.org http://mail.python.org/mailman/listinfo/pythonmac-sig