ID: 41839 User updated by: herps at raqtweak dot com Reported By: herps at raqtweak dot com Status: Bogus Bug Type: PDF related Operating System: Fedora Core 7 PHP Version: 5.2.3,4.4.7 New Comment:
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? Previous Comments: ------------------------------------------------------------------------ [2007-06-29 12:08:18] [EMAIL PROTECTED] 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-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