Yup, I have libjpeg.so.62.0 in /usr/local/lib. I tried compiling PIL with only the shared library installed, only the static jpeg library installed, or both, but the results are the same, no JPEG support. I have absolutely no ideas what to do now. ldd _imaging.so tells me it needs -ljpeg.62.0, which I assume means that it needs libjpeg.so.62.0, right?