#21241 [Com]: make gd_png.lo error when compiled php with-gd

From: Date: Tue, 06 May 2003 08:46:25 +0000
Subject: #21241 [Com]: make gd_png.lo error when compiled php with-gd
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-39146@lists.php.net to get a copy of this message
ID: 21241 Comment by: paul at cnt dot com dot sg Reported By: iconmans at yahoo dot com Status: Bogus Bug Type: GD related Operating System: RedHat Linux 8.0 PHP Version: 4.3.0 New Comment: Hi, We encountered the similar errrors make: *** [ext/gd/libgd/gd_png.lo] Error 1 and some libjpeg related during make process. It was fixed by Derick's suggestion suggestion to install the libpng-devel, not just libpng. The same applies to libjpeg-devel. Thanks Derick ! Previous Comments: ------------------------------------------------------------------------ [2003-01-20 05:01:40] j dot valroff at wanadoo dot fr OK thanks ;-) It is hard for a newbie to understand all that stuff. Thank you very much for your quick answers... ------------------------------------------------------------------------ [2003-01-20 04:59:50] derick@php.net I would recommend to use the bundled library, and thus you should install libpng-devel The bundled library has some more bugs fixed and support for antialiased lines. Derick ------------------------------------------------------------------------ [2003-01-20 04:49:06] j dot valroff at wanadoo dot fr What are the differences between the old behavior and the new bundled library? So, what should I do? ------------------------------------------------------------------------ [2003-01-20 04:47:34] sniper@php.net When you use --with-gd, then the bundled GD library is used, which REQUIRES png. Just use '--with-gd=/usr' to get the old behaviour, or install the png-devel package. ------------------------------------------------------------------------ [2003-01-20 04:45:27] j dot valroff at wanadoo dot fr No! that's the problem... I have libgd and libgd-devel installed. Anyway, with older versions of PHP, it has always worked. What could be wrong? ------------------------------------------------------------------------ The remainder of the comments for this report are too long. To view the rest of the comments, please view the bug report online at http://bugs.php.net/21241 -- Edit this bug report at http://bugs.php.net/?id=21241&edit=1

« previous php.bugs (#39146) next »