PHP 4.3.9RC2 and pdflib

php.internals

Jacques Marneweck

22 years ago
Hi, Is there any particular reason why pdflib 6 does not compile with PHP 4.3.9RC2. ext/pdf/pdf.lo: In function `zif_pdf_open': /usr/local/src/php-4.3.9RC2/ext/pdf/pdf.c:472: undefined reference to `PDF_open_fp' *** Error code 1 I would assume that we should ensure that we maintain the extensions compatibility for the 4.3.X releases of PHP. A similar bug I found[1] says that this is not a bug (which I would think it is), and that users should use the PECL version of pdflib. If the pdflib extension is not being maintained, should we not then package php 4.3.9 by default to carry the pdflib files from PECL? Regards --jm [1] http://bugs.php.net/bug.php?id=29297
-- Jacques Marneweck http://www.powertrip.co.za/blog/

Derick Rethans

22 years ago
On Thu, 2 Sep 2004, Jacques Marneweck wrote:
> Is there any particular reason why pdflib 6 does not compile with PHP 4.3.9RC2. > > ext/pdf/pdf.lo: In function `zif_pdf_open': > /usr/local/src/php-4.3.9RC2/ext/pdf/pdf.c:472: undefined reference to > `PDF_open_fp' > *** Error code 1 > > I would assume that we should ensure that we maintain the extensions > compatibility for the 4.3.X releases of PHP. A similar bug I found[1] > says that this is not a bug (which I would think it is), and that > users should use the PECL version of pdflib. If the pdflib extension > is not being maintained, should we not then package php 4.3.9 by > default to carry the pdflib files from PECL?
The pdflib in 4.3 works fine with pdflib 3-5, just not for 6. But of course configure needs to check for that. I also agree with you that pointing people to PECL for 4.3 is a bad idea too (though you can also just use pdflib 5 though). I also followed up on the bugreport. Derick
-- Derick Rethans http://derickrethans.nl | http://ez.no | http://xdebug.org