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



Reply via email to