php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #8284 phpi_get_le_gd not found (in pdf.c)
Submitted: 2000-12-15 17:14 UTC Modified: 2001-03-08 20:35 UTC
From: l at ftd dot fr Assigned:
Status: Closed Package: Compile Failure
PHP Version: 4.0.3pl1 OS: Linux 2.4.0-test12
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: l at ftd dot fr
New email:
PHP Version: OS:

 

 [2000-12-15 17:14 UTC] l at ftd dot fr
Hello,

during compilation of RPM php-4.0.3pl1 for a RedHat 7.0 system, using PDFLib-3.02, I noticed this failure during final link :
phpi_get_le_gd not found (in pdf.c)

Here is a patch to correct this (I don't know if it's appropriate):
--- php-4.0.3pl1/ext/pdf/pdf.c.lla      Tue Oct 10 09:42:53 2000
+++ php-4.0.3pl1/ext/pdf/pdf.c  Fri Dec 15 22:34:08 2000
@@ -2506,7 +2506,7 @@
        convert_to_long_ex(argv[1]);
        gid=(*argv[1])->value.lval;
        im = zend_list_find(gid, &type);
-       if (!im || type != phpi_get_le_gd()) {
+       if (!im || type != PDF_GLOBAL(le_pdf_image)) {
                php_error(E_WARNING, "pdf: Unable to find image pointer");
                RETURN_FALSE;
        }


Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2000-12-15 17:19 UTC] sniper@php.net
What was the configure line you have used?
And if I guessed right, this is fixed (correctly) in the PHP4.0.4RC6
found at: http://www.php.net/distributions/ 
so please try it. And if it doesn't work, add your configure line here.


--Jani
 [2001-03-08 20:35 UTC] sniper@php.net
No feedback, considered fixed.

--Jani

 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Tue May 06 17:02:17 2025 UTC