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

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to