GD support on PHP 4.3.8
| From: | E SA | Date: | Sat, 23 Oct 2004 17:21:59 +0000 |
| Subject: | GD support on PHP 4.3.8 | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-200162@lists.php.net to get a copy of this message | ||
Hi,
I am trying to compile PHP with GD support.
My config line is:
./configure --prefix=/data/PHP\
--with-config-file=/etc/php.ini\
--disable-debug --enable-safe-mode\
--with-mysql=/data/MySQL_4.0.21\
--with-openssl=/data/OpenSSL\
--with-apxs2=/data/Apache/bin/apxs\
--with-gd\
--with-jpeg-dir=/usr\
--with-png-dir=/usr\
i586-suse-linux
The libpng library is installed; however, I am
getting the following error message:
checking for floorf... yes
checking for jpeg_read_header in -ljpeg... yes
configure: error: libpng.(a|so) not found.
The files are in /usr/lib:
lrwxrwxrwx 1 root root 17 Aug 30 09:35
/usr/lib/libpng.so.3 -> libpng.so.3.1.2.5
-rwxr-xr-x 1 root root 202905 Aug 13 15:03
/usr/lib/libpng.so.3.1.2.5
lrwxrwxrwx 1 root root 19 Aug 30 09:35
/usr/lib/libpng12.so.0 -> libpng12.so.0.1.2.5
-rwxr-xr-x 1 root root 202905 Aug 13 15:03
/usr/lib/libpng12.so.0.1.2.5
Any ideas?
Beforehand, thank you for your help!
_______________________________
Do you Yahoo!?
Declare Yourself - Register online to vote today!
http://vote.yahoo.com