I'm installing php4.4.0 on redhat enterprise and when I issue the configure command as so:
Code:
./configure --with-mysql --with-gd=/usr/local --with-jpeg-dir=/usr/local --with-zlib-dir=/usr/local/include --with-png-dir=/usr/include
It returns results:
Code:
checking for GD support... yes
checking for the location of libjpeg... no
checking for the location of libpng... /usr/include/
checking for the location of libXpm... no
I have installed libjpeg. When I installed it I did the normal:
Code:
./configure
make
make install-lib
make install
I just can't figure out why libjpeg isn't being found. In addition, when I do 'locate libjpeg' It finds some shared modules. But It doesn't find a libjpeg.h; instead it finds jpeglib.h
Could this be the problem?
Any helps is much appreciated as I'm pulling my hair out trying to figure out why php can't find libjpeg.