On 4/14/07, Merlin <ngroups@xxxxxxxxxxx> wrote:
Hi there, I am moving to a new box and want to install php with pdflib again. After configure I get an error saying: pdflib.h not found! Check the path passed to --with-pdflib The path is just fine: '--with-pdflib=/usr/local/lib' ls /usr/local/lib/pdflib.* /usr/local/lib/pdflib.h
How did you get header files in the lib dir? pdflib.h(and all other header files from pdflib) should be in /usr/local/include or /usr/include. then your command should be '--with-pdflib=/usr/local' or just remove it at all, as PHP will find it automatically (i think)
ls /usr/local/lib/libpdf.* /usr/local/lib/libpdf.a /usr/local/lib/libpdf.la /usr/local/lib/libpdf.so /usr/local/lib/libpdf.so.1 /usr/local/lib/libpdf.so.1.1.3
That's fine. PHP will search for the headers in pdflibdir (--with-pdflib=...) /include, and for the libraries in pdflibdir/lib Tijnema
I do run the same version on the old box which is php 4.4.6 and pdflib 4.03. I do not want to upgrade to a new pdflib since I was totaly satisfied with the installation which runs perfectly. The php version seems also not to be the problem since I tried to configure with 4.2.1 and it failed the same way. I did with pdflib: ./configure make make install Then configured php Has anybody an idea what is wrong? The only difference I do see, is that the other box runs suse 9.0 while this one runs suse 9.3 Thank you for any hint or help, Best regards, Merlin -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
-- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php