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

From: Date: Mon, 20 Jan 2003 11:01:40 +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-30659@lists.php.net to get a copy of this message
 ID:               21241
 Comment by:       j.valroff@wanadoo.fr
 Reported By:      iconmans@yahoo.com
 Status:           Bogus
 Bug Type:         GD related
 Operating System: RedHat Linux 8.0
 PHP Version:      4.3.0
 New Comment:

OK thanks ;-)
It is hard for a newbie to understand all that stuff.
Thank you very much for your quick answers...


Previous Comments:
------------------------------------------------------------------------

[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.valroff@wanadoo.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.valroff@wanadoo.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?

------------------------------------------------------------------------

[2003-01-20 04:35:23] sniper@php.net

Is there png.h anywhere in your system?


------------------------------------------------------------------------

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



Thread (15 messages)

« previous php.bugs (#30659) next »