Open bbinet opened 12 years ago
The following solution is better since we don't have to create links system wide but only in the virtualenv:
$ sudo aptitude install libjpeg8 libjpeg8-dev libfreetype6 libfreetype6-dev zlib1g-dev
$ mkvirtualenv pygall
(pygall) $ cdvirtualenv
(pygall) $ ln -s /usr/lib/x86_64-linux-gnu/libz.so ./lib/
(pygall) $ ln -s /usr/lib/x86_64-linux-gnu/libjpeg.so ./lib/
(pygall) $ ln -s /usr/lib/x86_64-linux-gnu/libfreetype.so ./lib/
Here is a workaround: http://natim.ionyse.com/installer-la-pil-python-imaging-library-dans-un-virtualenv.html