php.net |  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
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: Bill dot public at Eccles dot net
New email:
PHP Version: OS:

 

 [2010-01-17 20:19 UTC] Bill dot public at Eccles dot net
Description:
------------
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 
gd_png.o.


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


Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2010-01-18 01:17 UTC] pajoye@php.net
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-2025 The PHP Group
All rights reserved.
Last updated: Sat Apr 19 18:01:26 2025 UTC