PHP 4.0 Bug #8284 Updated: phpi_get_le_gd not found (in pdf.c)
| From: | sniper@php.net | Date: | Fri, 15 Dec 2000 22:19:36 +0000 |
| Subject: | PHP 4.0 Bug #8284 Updated: phpi_get_le_gd not found (in pdf.c) | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-41517@lists.php.net to get a copy of this message | ||
ID: 8284
Updated by: sniper
Reported By: l@ftd.fr
Old-Status: Open
Status: Feedback
Bug Type: Compile Failure
Assigned To:
Comments:
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
Previous Comments:
---------------------------------------------------------------------------
[2000-12-15 17:14:46] l@ftd.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;
}
---------------------------------------------------------------------------
Full Bug description available at: http://bugs.php.net/?id=8284