SV: [PHP4BETA] Autoconf or me? Looking for gif support

From: Date: Mon, 03 Jan 2000 23:18:05 +0000
Subject: SV: [PHP4BETA] Autoconf or me? Looking for gif support
References: 1  Groups: php.version4 
Request: Send a blank email to php-version4+get-8875@lists.php.net to get a copy of this message
> Look at config.log, search for the message (checking for..) > and post the error message from the link editor. I'd guess > that libgd.a isn't in the link path. Ah, that's where to look... From what I can see, ld can't find -lpng. Why would I need to have libpng.a even if I don't want PNG-support? configure:9285: checking for gdImageCreateFromGif in -lgd configure:9304: gcc -o conftest -ggdb3 -I../openssl-0.9.4/include conftest.c -lgd -lgd -lm -lpng -lz 1>&5 /usr/i486-linux/bin/ld: cannot open -lpng: No such file or directory configure: failed program was: #line 9293 "configure" #include "confdefs.h" char gdImageCreateFromGif(); int main() { gdImageCreateFromGif() ; return 0; } Do I have to get libpng.a or is this some error in the configuration process? All the best, /Johan Ekenberg

« previous php.version4 (#8875) next »