Wednesday, June 1, 2011

Plone 3 on Natty: Python 2.4 with PIL

Installing PIL in a (hand-compiled) python2.4 yielded "python "ZLIB (PNG/ZIP) support not available", although i did have zlib1g-dev installed.

Found the answer in http://ubuntuforums.org/showthread.php?t=1751455#post10810486: Natty puts some libs in /usr/lib/x86_64-linux-gnu/, where PIL can't find them. Symlinking helps.

1 comment:

Alex Clark said...

FYI: The latest Pillow (PIL fork) supports multi-arch: http://pypi.python.org/pypi/Pillow/1.7.1. Also: are you on Plone planet? If not and you want to be, open a (website component) ticket: http://dev.plone.org/plone.