|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #50788 GD relies on out-of-date libpng
Submitted: 2010-01-17 20:19 UTC Modified: 2010-01-18 01:17 UTC
From: Bill dot public at Eccles dot net Assigned:
Status: Not a bug Package: GD related
PHP Version: 5.3.1 OS: MacOS X 10.6
Private report: No CVE-ID: None
 [2010-01-17 20:19 UTC] Bill dot public at Eccles dot net
Attempting to make PHP 5.3.1 using libpng 1.4.0 (which was released 
1/3/2010, I think) reveals that GD relies on the deprecated, and now 
removed in v1.4.0, _png_check_sig in _php_gd_gdImageCreateFromPngCtx in 

Reproduce code:
No code necessary. configure/make/make install libpng 1.4.0, point PHP's configure at the library.

Expected result:
Successful compile.

Actual result:
Undefined symbols:
  "_png_check_sig", referenced from:
      _php_gd_gdImageCreateFromPngCtx in gd_png.o


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2010-01-18 01:17 UTC]
Already fixed in SVN.

I would not define 1.2.x series as outdated either, given than the last one was release a couple of months ago. We will still support 1.2.x for some time.
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Wed Feb 21 09:01:28 2024 UTC