php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #12482 PHP doesn't recognize PDFLib
Submitted: 2001-07-31 08:34 UTC Modified: 2001-08-18 20:07 UTC
From: christophe dot green at bigfoot dot com Assigned:
Status: Not a bug Package: *Configuration Issues
PHP Version: 4.0.6 OS: Solaris 2.6
Private report: No CVE-ID: None
 [2001-07-31 08:34 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-08-18 20:07 UTC] sniper@php.net
You used the wrong configure value for the path.

use this instead:

--with-pdflib=/usr/local

And next time, ask support questions on proper mailing list:
http://www.php.net/support.php

--Jan

 
PHP Copyright © 2001-2020 The PHP Group
All rights reserved.
Last updated: Thu Dec 03 08:01:23 2020 UTC