I cannot use PIL because it cannot find my libjpeg!
First, I installed PIL default. And when I ran the selftest.py, it gave me:
selftest.py
IOError: dec
You need the libjpeg headers as well, not only the library itself. Those packages are typically called something ending in headers or dev, depending on what distribution you have.