Python Image Library (PIL) build error on Cygwin
Norman Vine
nhv at cape.com
Fri Apr 30 16:13:20 EDT 2004
"Steve Holden writes:
>
> sholden at DELLBOY ~/install/Imaging-1.1.4
> $ python setup.py build
> running build
> running build_py
> running build_ext
> building '_imagingtk' extension
> gcc -shared -Wl,--enable-auto-image-base
> build/temp.cygwin-1.5.9-i686-2.3/_imagingtk.o
> build/temp.cygwin-1.5.9-i686-2.3/Tk/tkImaging.o -LlibImaging
> -L/usr/lib/python2.3/config -lImaging -ltk8.4 -ltcl8.4 -lpython2.3 -o
> build/lib.cygwin-1.5.9
> -i686-2.3/_imagingtk.dll
> /usr/lib/gcc-lib/i686-pc-cygwin/3.3.1/../../../../i686-pc-cygwin/bin/ld:
> cannot find -ltk8.4
> collect2: ld returned 1 exit status
> error: command 'gcc' failed with exit status 1
>
> I'm wondering if I might need to download extra libraries, but I can't
> see anything appropriate.
Try
cd /usr/lib
ln -s libtk84.a libtk8.4.a
ln -s libtcl84.a libtcl8.4.aHTHNorman
More information about the Python-list
mailing list