[Image-SIG] Re: PIL 1.1.5 alpha 4 (september 12, 2004)

Bob Ippolito bob at redivi.com
Mon Sep 13 18:33:03 CEST 2004


On Sep 13, 2004, at 10:05 AM, Fredrik Lundh wrote:

> $ python setup.py build_ext -i
> running build_ext
> building '_imaging' extension
> gcc -Wl,-F. -Wl,-F. -bundle -framework Python
> [list of object files snipped]
> -L/usr/lib
> -L/System/Library/Frameworks/Python.framework/Versions/2.3/lib -lz -o
> PIL/_imaging.so
> ld: -F may not be used without -shared
> error: command 'gcc' failed with exit status 1
>
> Any Mac OS X experts around?

It is extremely likely that the gcc being used in this case is NOT an 
Apple compiler... I have no idea what it is.  Apple compilers do not 
support -shared at all (it uses -dylib for shared libraries and -bundle 
for plugins).

-bob


More information about the Image-SIG mailing list