Re: Natty: Python Imaging Library in a virtualenv - no JPEG or PNG support

"George V. Reilly" <[email protected]>
Newsgroups gmane.comp.python.image
Message-ID <[email protected]>
On Thu, May 12, 2011 at 3:17 AM, Charlie Clark
<[email protected]> wrote:
>
> Am 09.05.2011, 18:34 Uhr, schrieb George V. Reilly <[email protected]>:
>
>> I'm unable to build PIL with JPEG and PNG support in Ubuntu 11.04. I
>> posted this to http://ubuntuforums.org/showthread.php?t=1751455 on
>> Friday but have received no responses.
>> We build our Python webservices in a virtualenv with all external
>> packages stored locally. This gives us reproducible results on a
>> variety of Linux distros, Mac, and Windows, both for developer
>> machines and production boxes.
>
> PIL isn't safe for use with easy_install. I hope that Naoki's post about the x86_64 libraries has helped as this came up recently.
>
> For virtualenv's the best choice, however, is to use the Pillow fork of PIL which runs fine with easy_install or pip. Oh, and try to avoid "activate" unless you're very confident of what you're doing.

Thanks, Charlie et al. Ultimately, what I ended up doing was
symlinking libjpeg.so and libz.so into /usr/lib, as earlier versions
of Ubuntu did:

$ pushd /usr/lib
$ sudo ln -s i386-linux-gnu/libjpeg.so libjpeg.so
$ sudo ln -s i386-linux-gnu/libz.so libz.so

--
/George V. Reilly  [email protected]  Twitter: @georgevreilly
http://www.georgevreilly.com/blog  http://blogs.cozi.com/tech
_______________________________________________
Image-SIG maillist  -  [email protected]
http://mail.python.org/mailman/listinfo/image-sig
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.