How do you configure PHP 5.2.3 to look under /usr/lib64 for the libjpeg.so and libpng.so files, and under /usr/include for gd.h and png.h? I have tried setting the --prefix, --exec-prefix, --includedir, --libdir, and --with-libdir flags to the right values, but it seems to always want to look for them in /usr/local/lib regardless of what I set. Can someone explain how to do this? I'd rather not make a bunch of unnecessary symbolic links to that directory to make it all work. Thanks!
Here is the configure string I use (yes, I know the --prefix, --exec-prefix, --libdir values, etc don;t work. that's why I am asking for help):
# ./configure --prefix=/usr/local --exec-prefix=/usr/lib64 --includedir=/usr/include --with-libdir=/usr/lib64 --sysconfdir=/etc/php --with-mysql=/usr/local/mysql --with-apxs=/usr/local/apache/bin/apxs --with-gd=/usr/lib64 --with-jpeg-dir=/usr/lib64 --with-zlib=/usr --enable-gd-native-ttf --with-png-dir --with-ttf-dir --with-freetype-dir --with-xpm --enable-mbstring --with-pear --with-mysqli=/usr/local/mysql/bin/mysql_config --with-mm --enable-track-vars
- Prev by Date: PHP installing Issues
- Next by Date: Something is likely to be messed up here...
- Previous by thread: PHP installing Issues
- Next by thread: Something is likely to be messed up here...
- Index(es):