Compile GD with JPEG Support
November 3rd, 2006In the wee hours of the morning as I work on compiling random bits and pieces here and there I stumbled across a problem when attempting to compile gd and have it recognize my jpeg-6b libraries. I thought it worth noting that gd is specifically looking for ‘libjpeg.so’, which on my particular system doesn’t exist, instead I have a copy of ‘libjpeg.so.62′ which I simply created a softlink to the file and ran ‘configure’ again.
ln -s /usr/lib/libjpeg.so.62 /usr/lib/libjpeg.so
Don’t forget to set your CPPFLAGS environment variable to include your jpeg-6b header files!!
Once again all is right with the world.