[Image-SIG] Linking issues with 1.1.5 on x86_64

Nick Bower nick at nickbower.com
Thu May 18 09:37:27 CEST 2006


Ah thanks - this put me on the right track.  There was an issue with multiple 
PILs installed.

On Thu, 18 May 2006 03:14 pm, Fredrik Lundh wrote:
> Nick Bower wrote:
> > I've some experience building PIL, but for some reason JPEG and other
> > decoders are not working for a particular architecture (FC4 on sun x86
> > opterons).  The build script reports JPEG support ok after I configure
> > setup.py
> > for /usr/lib64 and the build even seems to link correctly, but at runtime
> > such actions as Image.open('test.jpg').save('x.jpg') report the well
> > known "Module PIL.Image, line 328, in _getdecoder IOError: decoder jpeg
> > not available"
>
> I doubt this is a build issue as much as it is an installation issue;
> if the setup file says that you have JPEG support, and you don't get
> any linker errors, you shouldn't get any "decoder jpeg not available"
> messages either.
>
> try running Python with the -v (or -vv) option, to see if it really
> picks up the _imaging module you built.
>
>      $ python -vv -c "import _imaging"
>
> </F>
>
> _______________________________________________
> Image-SIG maillist  -  Image-SIG at python.org
> http://mail.python.org/mailman/listinfo/image-sig


More information about the Image-SIG mailing list