php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #12483 PHP doesn't recognize PDFLib
Submitted: 2001-07-31 08:35 UTC Modified: 2001-07-31 09:05 UTC
From: christophe dot green at bigfoot dot com Assigned:
Status: Not a bug Package: PDF related
PHP Version: 4.0.6 OS: Solaris 2.6
Private report: No CVE-ID: None
View Add Comment Developer Edit
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please !
Your email address:
MUST BE VALID
Solve the problem:
6 + 31 = ?
Subscribe to this entry?

 
 [2001-07-31 08:35 UTC] christophe dot green at bigfoot dot com
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, copied <pdflib-dir>/bind/php/ext/pdf/* in <php-dir>/ext/pdf
and build php with ./configure --with-pdflib=/usr/local/lib

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, (<pdflib-dir>/bind/c) without success.
php -m doesn't say anything about pdf.
What can be wrong, how to know what pdflib php is looking for ?

Thank's in advance


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2001-07-31 09:05 UTC] sniper@php.net
Your configure option is incorrect for PHP.
It should be like this:

--with-pdflib=/usr/local

Next time, ask support questions on php-install@lists.php.net as this is not a support forum.

--Jani

 
PHP Copyright © 2001-2019 The PHP Group
All rights reserved.
Last updated: Sat Apr 20 09:01:24 2019 UTC