It looks like your missing the libpng library.

Put that in and it should work.

Dan J.
On Wed, 28 Jul 2004 23:13:47 -0500, Ryan wrote
> I get this error every time I try to compile PHP:
> 
> ...[snip]...
> checking for floorf... yes
> If configure fails try --with-jpeg-dir=<DIR>
> configure: error: libpng.(a|so) not found.
> 
> Here is my configure script:
> 
> ./configure \
>    --with-apxs2=/usr/local/apache/bin/apxs \
>    --with-mysql \
>    --with-gd \
>    --with-curl=/usr/include/curl \
>    --with-imap \
>    --enable-wddx \
> 
> Maybe it's the GD line?  I thought I read it would use the internal 
> GD library.   If I removed all the options from ./configure it might 
> work.  But then will I be able to read/modify jpegs from within PHP?
> 
> -Ryan


-----------------------------------------------------
Dan J Schlichting
http://www.cpugeek.org
[EMAIL PROTECTED]

Reply via email to