Hmmm running "locate libpng" returns this:
/usr/lib/libpng.so.3.1.2.2 /usr/lib/libpng.so.3 /usr/lib/libpng12.so.0.1.2.2 /usr/lib/libpng12.so.0 /usr/lib/libpng.so.2 /usr/lib/libpng.so.2.1.0.13
It doesn't look like it's looking for the libraries, the error specifically mentions .(a|so)
How do I tell it that libpng is in /usr/lib? Shouldn't it know this already? It's not like I moved it.
-Ryan
At 06:11 AM 7/29/04, you wrote:
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]
