[Image-SIG] cannot find -ljpeg
Devaprastha
deva@prastha.com
Sat, 25 Aug 2001 22:26:50 -0400
I have tried to compile PIL severl times Using versions 1.1, 1.1.1,
1.1.2 - all with same error.
I first downloaded/installed the IJG JPEG library (version 6b). I
compiled and installed without a problem, but when trying to run the
final "make" I get the following error. ("make -f Makefile.pre.in boot"
works fine")
I'm running RH7.1 & python 2.1
# gcc -shared ./_imaging.o ./decode.o ./encode.o ./map.o ./display.o
./outline.o ./path.o libImaging/libImaging.a -L/usr/local/lib -ljpeg
-L/usr/local/lib -lz -o ./_imaging.so
# /usr/bin/ld: cannot find -ljpeg
# collect2: ld returned 1 exit status
# make: *** [_imaging.so] Error 1
TIA