PHP doesn't find PDFLib functions
| From: | Christophe Cinquantun | Date: | Wed, 01 Aug 2001 10:49:15 +0000 |
| Subject: | PHP doesn't find PDFLib functions | ||
| Groups: | php.install | ||
| Request: | Send a blank email to php-install+get-3771@lists.php.net to get a copy of this message | ||
I don't succeed in building PHP 4.0.6 with PDFLib 4.0.1
I've installed the PDFLIB 4.01 source in <pdflib-dir>, run ./configure, make
and make install.
Then, as specified in <pdflib-dir>/bind/php/readme.txt, I've copied
<pdflib-dir>/bind/php/ext/pdf/* in <php-dir>/ext/pdf and build php with
./configure --with-pdflib=/usr/local, make and make install
I got no errors, but PHP doesn't recognize any PDF functions (Call to
undefined function: pdf_new())
I tried to change the --with-pdflib value, with <pdflib-dir>/bind/c or junk
directories, it doesn't change anything (No error, but no PDF functions)
php -m doesn't say anything about pdf.
I didn't notice anything important in config.log
What can be wrong, How to know what pdflib library file php is looking for ?
My php configure line is
./configure --with-pdflib=/usr/local --enable-safe-mode=yes --enable-discard
-path=yes