[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[cobalt-users] PHP with PNG



GRR this is pissing me off,
you fix one thing (mySQL, the move and ln -s worked! thanks guys!) and you
break another

checking for PDFlib support... yes, shared
checking for the location of libtiff... no
checking for jpeg_read_header in -ljpeg... (cached) yes
checking for png_create_info_struct in -lpng... no
configure: error: libpng not found!

[root SPECS]# whereis libpng
libpng: /usr/lib/libpng.a /usr/lib/libpng12.a /usr/lib/libpng.so
/usr/lib/libpng12.so /usr/local/lib/libpng12.a /usr/local/lib/libpng.a
/usr/local/lib/libpng.so /usr/local/lib/libpng12.so /usr/include/libpng
/usr/man/man3/libpng.3.gz /usr/man/man3/libpng.3

So I try
--with-png-dir=/usr --with-jpeg-dir=/usr/lib
doesn't work (same error)
--with-png-dir=/usr/lib --with-jpeg-dir=/usr/lib
doesn't work (same error)
--with-png-dir=/usr/local --with-jpeg-dir=/usr/lib
doesn't work (same error)
--with-png-dir=/usr/local/lib --with-jpeg-dir=/usr/lib
doesn't work (same error)

Now, this pissed me off... What the hell is wrong here???
I tried an RPM I had that ALWAYS worked, and I compiled from source...
Neither works....

I am running out of prozac :) ...

Thanks guys for your help :)

Leslie