libjpeg not found while compiling PHP
How many times have you seen this error when compiling PHP? It absolutely drives me insane! I don’t know why, but when I stumble upon this error, I fix it, and then never document it. And, I’ve found little information on Google about this error message:
configure: error: libjpeg.(a|so) not found
The problem I run into is I forget two steps of the installation after “make install”. So, here’s what I do, and it seems to clear up the problem….
JPEG-6B INSTALL
tar –zxf jpegsrc.v6b.tar.gz
cd jpeg-6b
./configure –prefix=/usr
make
make test
make install
make install-lib
make install-headers