# PHP 4.3.9RC2 and pdflib

- Thread: https://externals.io/message/12551
- Original archive: https://news-web.php.net/php.internals/12551
- Started by Jacques Marneweck on 2004-09-02T20:02:00+00:00
- Messages: 2
- Reply by email to internals@lists.php.net
- More for agents: search with https://externals.io/search.md?q={query} · JSON API at https://externals.io/api · documentation at https://externals.io/llms.txt

---

## #12551 — Jacques Marneweck — 2004-09-02T20:02:00+00:00

URL: https://externals.io/message/12551#12551

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/

---

## #12557 — Derick Rethans — 2004-09-03T06:40:43+00:00

URL: https://externals.io/message/12551#12557 · In reply to: #12551

> 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
