Ok so this bug has nothing to do with virtualenv, I ahve tried to simply build the python PIL package, and it still cannot find the required jpeg (and other) libraries.
Output:
...
--------------------------------------------------------------------
*** TKINTER support not available (Tcl/Tk 8.5 libraries needed)
*** JPEG support not available
*** ZLIB (PNG/ZIP) support not available
*** FREETYPE2 support not available
*** LITTLECMS support not available
--------------------------------------------------------------------
...
Ok so this bug has nothing to do with virtualenv, I ahve tried to simply build the python PIL package, and it still cannot find the required jpeg (and other) libraries.
To reproduce:
$ sudo apt-get install libjpeg62-dev zlib1g-dev libfreetype6-dev libpng12-dev python-dev effbot. org/downloads/ Imaging- 1.1.7.tar. gz 1.1.7.tar. gz
$ wget http://
$ tar xvzf Imaging-
$ cd Imaging-1.1.7/
$ python setup.py build
Output: ------- ------- ------- ------- ------- ------- ------- ------- ------- -- ------- ------- ------- ------- ------- ------- ------- ------- ------- --
...
---
*** TKINTER support not available (Tcl/Tk 8.5 libraries needed)
*** JPEG support not available
*** ZLIB (PNG/ZIP) support not available
*** FREETYPE2 support not available
*** LITTLECMS support not available
---
...
How to fix:
$ ln -s /usr/lib/ x86_64- linux-gnu/ libjpeg. so /usr/lib x86_64- linux-gnu/ libfreetype. so /usr/lib x86_64- linux-gnu/ libz.so /usr/lib
$ ln -s /usr/lib/
$ ln -s /usr/lib/
and then it builds with jpeg / png / freetype support.