Compiling Libjpeg on 64 Bit Centos
I ran into an issue just now compiling libjpeg on 64 bit CentOS. I found this very helpful post that gives a workaround using a config.guess file from libtool. For some reason, I didn’t have the folder he suggested, but I did have the alternative (automake).
cp /usr/share/automake-1.9/config.guess . cp /usr/share/automake-1.9/config.sub .
I copied the above files into my jpeg-6b directory, and
./configure –enable-shared –enable-static
worked correctly.