I am trying to configure an upgrade to php 5.2.1. I have the old config file as reference but when I try to run config I get this error:
error: libjpeg.(a|so) not found.
this is all the stuff i have in regards to my gd config
-with-gd=shared --enable-gd-native-ttf --without-gdbm --with-gettext --with-ncurses=shared --with-gmp --with-iconv --with-jpeg-dir=/usr