If you come across the error as,
=-=-=-=-=-=-=-=-=-=-==-=-=-=-=-=-=-=-=-=-=-=-
"configure: error: libjpeg.(a|so) not found."
=--=-=-=-=-=-=-==-=--=-=-=-=-=-=--==--==-=-=-
during PHP compilation error, you can use the following workaround as a solution,
=--=-=-=-==-
ln -s /usr/lib64/libjpeg.so /usr/lib/
-==--==-=-=-
Now, execute
make clean ; ./configure --options..
Done
=-=-=-=-=-=-=-=-=-=-==-=-=-=-=-=-=-=-=-=-=-=-
"configure: error: libjpeg.(a|so) not found."
=--=-=-=-=-=-=-==-=--=-=-=-=-=-=--==--==-=-=-
during PHP compilation error, you can use the following workaround as a solution,
=--=-=-=-==-
ln -s /usr/lib64/libjpeg.so /usr/lib/
-==--==-=-=-
Now, execute
make clean ; ./configure --options..
Done