[Image-SIG] Help with libjpeg

Dan Gaibel dg76 at cornell.edu
Tue Aug 22 22:29:20 CEST 2006


I am having serious problems trying to compile libjpeg, which I need  
for JPEG support in the Python Imaging Library. After bumping into  
several walls  realized that I need to configure the libjpeg  
compilation with the enable-shared flag, as follows:
./configure --enable-shared

However, this results in an error:

checking host system type... Invalid configuration `x86_64-unknown- 
linux-gnu': machine `x86_64-unknown' not recognized

...which does not allow the compilation to work. I've looked into the  
error but all of the solutions seem to be package specific and have  
nothing to do with libjpeg.

The worst thing is that libjpeg is, in fact, installed in the system.  
For some reason the libjpeg.so.62 file in /usr/lib cannot be read by  
setup.py.

Has anyone encountered this error? It's mission critical that I  get  
PIL properly installed on this machine. Any help is greatly appreciated!

Thanks,

Dan



More information about the Image-SIG mailing list