#41839 [Opn->Bgs]: PDFLib compile failure: undefined reference to `PDF_open_fp'
| From: | tony2001@php.net | Date: | Fri, 29 Jun 2007 12:08:18 +0000 |
| Subject: | #41839 [Opn->Bgs]: PDFLib compile failure: undefined reference to `PDF_open_fp' | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-114449@lists.php.net to get a copy of this message | ||
ID: 41839
Updated by: tony2001@php.net
Reported By: herps at raqtweak dot com
-Status: Open
+Status: Bogus
Bug Type: PDF related
Operating System: Fedora Core 7
PHP Version: 5.2.3,4.4.7
New Comment:
Please use PECL releases of pdflib extension and (if you're still able
to reproduce it) report the bug using PECL bugtracker:
http://pecl.php.net/package/pdflib
Thank you.
Previous Comments:
------------------------------------------------------------------------
[2007-06-28 14:19:50] herps at raqtweak dot com
Description:
------------
I am trying to compile both 4.4.7 and 5.2.3 with PDFLib-Lite 7.0.1
Compiling as an integrated part fails on compile, shared module
compiles but fails when loading "pdf.so".
See compile and log errors below.
Actual result:
--------------
These errors I get when compiling as an integrated part:
===========
ext/mysql/libmysql/my_tempnam.lo: In function `my_tempnam':
/usr/src/redhat/BUILD/php-4.4.7/ext/mysql/libmysql/my_tempnam.c:115:
warning: the use of
tempnam' is dangerous, better use mkstemp'
ext/pdf/pdf.lo: In function `zif_pdf_open':
/usr/src/redhat/BUILD/php-4.4.7/ext/pdf/pdf.c:472: undefined reference
to `PDF_open_fp'
collect2: ld returned 1 exit status
make: *** [sapi/cli/php] Error 1
===========
and this I get when I load it as a module:
===========
PHP Warning: Unknown(): Unable to load dynamic library
'/usr/lib/apache/php-4.4.7/php/pdf.so' -
/usr/lib/apache/php-4.4.7/php/pdf.so: undefined symbol: PDF_open_fp in
Unknown on line 0
===========
Same with PHP 5.2.3
Anyone any idea?
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=41839&edit=1