logo       

[PHP-INSTALL] Compilation of PHP 4.3.8 with GD: msg#00103

php.install

Subject: [PHP-INSTALL] Compilation of PHP 4.3.8 with GD

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!?
Yahoo! Mail Address AutoComplete - You start. We finish.
http://promotions.yahoo.com/new_mail



<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise