php.net |  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
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: herps at raqtweak dot com
New email:
PHP Version: OS:

 

 [2007-06-28 14:19 UTC] 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?

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2007-06-29 12:08 UTC] tony2001@php.net
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.
 [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-2025 The PHP Group
All rights reserved.
Last updated: Sun Jan 05 05:01:28 2025 UTC