On Thu, May 12, 2011 at 3:17 AM, Charlie Clark
<charlie.cl...@clark-consulting.eu> wrote:
>
> Am 09.05.2011, 18:34 Uhr, schrieb George V. Reilly <geo...@reilly.org>:
>
>> 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  geo...@reilly.org  Twitter: @georgevreilly
http://www.georgevreilly.com/blog  http://blogs.cozi.com/tech
_______________________________________________
Image-SIG maillist  -  Image-SIG@python.org
http://mail.python.org/mailman/listinfo/image-sig

Reply via email to