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:
IOError: decoder jpeg not available 1 items had failures: 1 of 57 in selftest.testimage Test Failed 1 failures. *** 1 tests of 57 failed.
Then, I followed instructions online to change PIL's setup.py to
JPEG_ROOT = "/usr/lib"
Because when I "locate libjpeg", this is what I get:
locate libjpeg /usr/lib/libjpeg.so.62 /usr/lib/libjpeg.so.62.0.0 /usr/lib64/libjpeg.so.62 /usr/lib64/libjpeg.so.62.0.0 /usr/share/doc/libjpeg-6b /usr/share/doc/libjpeg-6b/README /usr/share/doc/libjpeg-6b/usage.doc /var/cache/yum/base/packages/libjpeg-6b-37.i386.rpm /var/cache/yum/base/packages/libjpeg-6b-37.x86_64.rpm
So, I ran "setup.py install" again...and did selftest.py. And I still get the same error!
Please help. thank you