|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #41839 PDFLib compile failure: undefined reference to `PDF_open_fp'
Submitted: 2007-06-28 14:19 UTC Modified: 2007-06-29 12:54 UTC
From: herps at raqtweak dot com Assigned:
Status: Not a bug Package: PDF related
PHP Version: 5.2.3,4.4.7 OS: Fedora Core 7
Private report: No CVE-ID: None
 [2007-06-28 14:19 UTC] herps at raqtweak dot com
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 "".

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/' - /usr/lib/apache/php-4.4.7/php/ undefined symbol: PDF_open_fp in Unknown on line 0

Same with PHP 5.2.3

Anyone any idea?


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2007-06-29 12:08 UTC]
Please use PECL releases of pdflib extension and (if you're still able to reproduce it) report the bug using PECL bugtracker:
Thank you.
 [2007-06-29 12:54 UTC] herps at raqtweak dot com
Thanks for that.
Didn't find any compile instructions.

I just unpack the tar, and tell the PHP compiler to search for the source files in the location where I unpacked these files?
PHP Copyright © 2001-2020 The PHP Group
All rights reserved.
Last updated: Sat Jul 04 16:01:27 2020 UTC