ID: 29297 Comment by: alvaro_php at adplabs dot com dot br Reported By: v_santhanam at ettimadai dot amrita dot edu Status: Closed Bug Type: Compile Failure Operating System: Redhat Enterprise Linux AS 3 PHP Version: 4.3.8 Assigned To: rjs New Comment:
This is still happening as of php4-STABLE-200409161630. I too get ext/pdf/pdf.lo(.text+0x5fa): In function `zif_pdf_open': /usr/src/php4-STABLE-200409161630/ext/pdf/pdf.c:472: undefined reference to `PDF_open_fp while trying to compile on Fedora Core 2 x86. No luck with PECL version either: SRM -DHAVE_CONFIG_H -g -O2 -c /tmp/tmprYIopN/pdflib-2.0.2/pdf.c -fPIC -DPIC -o .libs/pdf.o /tmp/tmprYIopN/pdflib-2.0.2/pdf.c:87:28: ext/gd/php_gd.h: No such file or directory /tmp/tmprYIopN/pdflib-2.0.2/pdf.c:89:31: ext/gd/libgd/gd.h: No such file or directory /tmp/tmprYIopN/pdflib-2.0.2/pdf.c: In function `zif_pdf_open_memory_image': /tmp/tmprYIopN/pdflib-2.0.2/pdf.c:7081: error: `gdImagePtr' undeclared (first use in this function) /tmp/tmprYIopN/pdflib-2.0.2/pdf.c:7081: error: (Each undeclared identifier is reported only once /tmp/tmprYIopN/pdflib-2.0.2/pdf.c:7081: error: for each function it appears in.) /tmp/tmprYIopN/pdflib-2.0.2/pdf.c:7081: error: syntax error before "im" /tmp/tmprYIopN/pdflib-2.0.2/pdf.c:7099: error: `im' undeclared (first use in this function) /tmp/tmprYIopN/pdflib-2.0.2/pdf.c:7099: error: syntax error before "zend_fetch_resource" make: *** [pdf.lo] Error 1 Thanks in advance, �lvaro Previous Comments: ------------------------------------------------------------------------ [2004-09-13 17:14:39] [EMAIL PROTECTED] 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. Removed the extension in ext/pdf as it is available from PECL. ------------------------------------------------------------------------ [2004-09-03 11:34:48] [EMAIL PROTECTED] I think the changes in the PECL version which was a repo copy of ext/pdflib should have the PHP 4 changes MFH so that php 4.3.9 compiles cleanly with pdflib 6 support. ------------------------------------------------------------------------ [2004-09-03 08:39:23] [EMAIL PROTECTED] If it's not supported then configure should check for it. Assigning to the maintainer. ------------------------------------------------------------------------ [2004-07-22 16:53:56] [EMAIL PROTECTED] Thank you for taking the time to write to us, but this is not a bug. Please double-check the documentation available at http://www.php.net/manual/ and the instructions on how to report a bug at http://bugs.php.net/how-to-report.php The pdf wrapper in PHP 4.3.x is not compatible with PDFlib 6. Please try the PECL package for pdflib, this has the new wrappercode that works with PDFlib 6 too and it can be used with PHP 4.3. ------------------------------------------------------------------------ [2004-07-21 13:51:14] v_santhanam at ettimadai dot amrita dot edu Description: ------------ Dear Friends, I am trying to compile php-4.3.8 with pdflib 6(latest version). But i am not able to make with the following error : ------------------------------------------------------ ext/pdf/pdf.lo(.text+0x5fd): In function `zif_pdf_open': /usr/local/src/php-4.3.8/ext/pdf/pdf.c:472: undefined reference to `PDF_open_fp' collect2: ld returned 1 exit status make: *** [sapi/cli/php] Error 1 ------------------------------------------------------ My php configure command is : ------------------------------------------------------- ./configure --with-apxs2=/usr/local/apache2/bin/apxs --with-mysql=/usr --with-pdflib=/usr/local -------------------------------------------------------- Please kindly help me. Thanks in advance With Regards Santhanam ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=29297&edit=1
