[Image-SIG] Help with libjpeg

Bob Ippolito bob at redivi.com
Tue Aug 22 22:36:42 CEST 2006

On 8/22/06, Dan Gaibel <dg76 at cornell.edu> wrote:
> 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!

You probably need to install some kind of jpeg-devel package in order
to get the header file so that you can use the system libjpeg.


More information about the Image-SIG mailing list