configure fails with checking for png_create_info_struct in -lpng... no on RH9

From: Date: Mon, 05 Apr 2004 21:28:48 +0000
Subject: configure fails with checking for png_create_info_struct in -lpng... no on RH9
Groups: php.install 
Request: Send a blank email to php-install+get-13161@lists.php.net to get a copy of this message
Configure of php4.3.5 fails with the following: checking whether to enable user-space object overloading support... yes checking for Ovrimos SQL Server support... no checking whether to enable pcntl support... no checking for PCRE support... yes checking for PDFlib support... yes checking for the location of libtiff... /usr checking for jpeg_read_header in -ljpeg... (cached) yes checking for png_create_info_struct in -lpng... no configure: error: libpng not found! Using the following config: #!/bin/sh OPTIM="-O9 -funroll-loops -ffast-math -malign-double -mcpu=pentiumpro -march=pentiumpro -fomit-frame-pointer -fno-exceptions" \ ./configure \ --with-apxs2=/usr/local/apache2/bin/apxs \ --enable-ftp \ --with-gd \ --with-iodbc \ --with-mcal \ --enable-gd-native-ttf \ --with-zlib-dir=/usr/local \ --with-ttf=/usr \ --with-freetype-dir=/usr \ --with-xpm-dir=/usr \ --with-tiff-dir=/usr \ --with-pdflib=/usr \ --with-pspell \ --enable-inline-optimization \ --with-gettext \ --with-mcrypt \ --with-curl \ --with-png-dir=/usr/local \ --with-jpeg-dir=/usr/local \ --with-mysql I have tried using the installed libpng and also installed from source libpng, jpeg, and zlib. rpm -qa | grep png libpng10-1.0.13-8 libpng-devel-1.2.2-16 libpng-1.2.2-16 libpng10-devel-1.0.13-8 rpm -qa | grep jpeg libjpeg-devel-6b-26 libjpeg-6b-26 find / -name "libpng*" /usr/lib/libpng.so.3 /usr/lib/libpng.so.3.1.2.2 /usr/lib/libpng12.so.0 /usr/lib/libpng12.so.0.1.2.2 /usr/lib/pkgconfig/libpng12.pc /usr/lib/pkgconfig/libpng10.pc /usr/lib/libpng.so.2.1.0.13 /usr/lib/libpng.so.2 /usr/lib/libpng.a /usr/lib/libpng.so /usr/lib/libpng12.a /usr/lib/libpng12.so /usr/lib/libpng10.a /usr/lib/libpng10.so /usr/share/doc/libpng-1.2.2 /usr/share/doc/libpng-1.2.2/libpng.txt /usr/share/doc/libpng10-1.0.13 /usr/share/doc/libpng10-1.0.13/libpng.txt /usr/share/man/man3/libpng.3.gz /usr/share/man/man3/libpngpf.3.gz /usr/include/libpng12 /usr/include/libpng /usr/include/libpng10 /usr/local/bin/libpng12-config /usr/local/bin/libpng-config /usr/local/include/libpng12 /usr/local/include/libpng /usr/local/lib/libpng12.a /usr/local/lib/libpng.a /usr/local/lib/libpng12.so.0.1.2.5 /usr/local/lib/libpng.so.3.1.2.5 /usr/local/lib/libpng.so.3 /usr/local/lib/libpng.so /usr/local/lib/libpng12.so.0 /usr/local/lib/libpng12.so /usr/local/lib/pkgconfig/libpng12.pc /usr/local/lib/pkgconfig/libpng.pc /usr/local/man/man3/libpng.3 /usr/local/man/man3/libpngpf.3 Any help would be greatly appreciated.... Thanks; Tamer Ziady iServe Technologies http://www.iServeTech.com Call: 412-281-9930 Fax : 412-281-0959 AUX : 412-760-5445

« previous php.install (#13161) next »