#29297 [Com]: PDFLib 6 make error
| From: | scott_list at mischko dot com | Date: | Mon, 31 Jan 2005 22:32:17 +0000 |
| Subject: | #29297 [Com]: PDFLib 6 make error | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-73161@lists.php.net to get a copy of this message | ||
ID: 29297
Comment by: scott_list at mischko dot com
Reported By: v_santhanam at ettimadai dot amrita dot edu
Status: Assigned
Bug Type: Compile Failure
Operating System: Redhat Enterprise Linux AS 3
PHP Version: 4.3.8
Assigned To: rjs
New Comment:
I also get this error with 4.3.10 (PDFlib-Lite-6.0.1)
ext/pdf/pdf.lo(.text+0xc0b9): In function `zif_pdf_open':
/home/scott/Download/new-stuff/php-4.3.10/ext/pdf/pdf.c:472: undefined
reference to `PDF_open_fp'
collect2: ld returned 1 exit status
make: *** [sapi/cli/php] Error 1
Previous Comments:
------------------------------------------------------------------------
[2005-01-31 22:22:00] scott_list at mischko dot com
I am seeing this error on 4.3.9.
ext/pdf/pdf.lo(.text+0xc0b9): In function `zif_pdf_open':
/home/software/src/php-4.3.9/ext/pdf/pdf.c:472: undefined reference to
`PDF_open_fp'
collect2: ld returned 1 exit status
make: *** [sapi/cli/php] Error 1
------------------------------------------------------------------------
[2004-11-29 10:14:14] derick@php.net
I reverted this fix in CVS now, please make a proper one that allows
PDFLib 4 and 5 to work.
------------------------------------------------------------------------
[2004-11-22 13:05:14] derick@php.net
Reiner, you didn't not commit anything so don't use the quick fix
"Fixed in CVS". Also, there is no good reason to block the use of
PDFLIb 5 here, as it works fine, it just doesn't have a full
implementation. That is not a problem as it is the case for most other
bindings to libraries. I'm re-assigning this until the confiure check
is fixed.
------------------------------------------------------------------------
[2004-11-22 12:01:30] rjs@php.net
This bug has been fixed in CVS.
Snapshots of the sources are packaged every three hours; this change
will be in the next snapshot. You can grab the snapshot at
http://snaps.php.net/.
Thank you for the report, and for helping us make PHP better.
There is a wrapper that works with PDFlib 5 and PDFlib 6. You can find
this wrapper at pecl.php.net.
The wrapper included here supports the PDFlib 4 API and not more. It is
true, that it also would compile with PDFlib 5, but it does not support
PDFlib 5, as the new API's from PDFlib 5 are not implemented.
This is the reason why configure strictly checks this.
------------------------------------------------------------------------
[2004-11-16 06:07:01] v_santhanam at ettimadai dot amrita dot edu
Dear Friends,
very happy to know that the bug has been fixed. But i have one
doubt. rjs has told "Configure now only allows to work with PDFlib up
to PDFlib 4". But for my little brain tells that PHP can work perfectly
upto PDFLib 5. Please kindly clarify. Thanks a lot in advance.
With Regards
Santhanam
------------------------------------------------------------------------
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/29297
--
Edit this bug report at http://bugs.php.net/?id=29297&edit=1