Re: configure: error: libpng.(a|so) not found
| From: | Rob Lloyd | Date: | Fri, 12 Dec 2003 21:59:11 +0000 |
| Subject: | Re: configure: error: libpng.(a|so) not found | ||
| References: | 1 2 | Groups: | php.install |
| Request: | Send a blank email to php-install+get-12368@lists.php.net to get a copy of this message | ||
This time I tried both "--with-zlib" & "--with-zlib-dir=/usr"
Unfortunately I get the same error.
here are the last fewlines of the config.log
configure:29785: checking for fabsf
configure:29813: gcc -o conftest -g -O2
conftest.c -lz -lresolv -lm -ldl -lnsl 1>&5
configure:29797: warning: conflicting types for built-in function `fabsf'
configure:29785: checking for floorf
configure:29813: gcc -o conftest -g -O2
conftest.c -lz -lresolv -lm -ldl -lnsl 1>&5
Rob Lloyd wrote:
> > Newbie trying to install php 4.3.4 on RH9 w/ apache 2.0. Also my first
time
> > posting to this group.
> >
> > tried:
> >
./configure --with-apxs2=/usr/local/apache2/bin/apxs --with-mysql --enable-t
> >
rack-vars --with-xmlrpc --with-gd --enable-mbstring=all -enable-mbregex --wi
> > th-zlib-dir=/usr/include
>
> Try "--with-zlib-dir=/usr", so configure can find the header file
/usr/include/zlib.h as
> well as the library /usr/lib/libz.so. Probably --with-zlib is enough,
either.