Click to See Complete Forum and Search --> : php4+pdf configuration


utsab
02-15-2001, 01:51 AM
Hi there,

I am upgrading my system from php3 to php4 for pdf support. I configure the php4 files with following command

./configure --with-mysql --with-apache=(full path to apache file) --with-imap --with-pdflib=/usr/local --with-jpeg-dir=/usr --with-tiff-dir=/usr --enable-track-vars

before this i download PDFLib 3.0.1 from http://www.pdflib.com

and Configure, Make & install PDFLib

#./configure --enabled-shared-pdflib
#make
#make install

and PDFLib installed in /usr/local/lib

my php4 version is php-4.0.2

Thanx in advance

please help me

utsab
02-15-2001, 01:54 AM
While configuring with above mentioned command i got the error as

pdflib extension requires pdflib 3.x while
checking for PDF_SHOW_BOXED in -lpdf ... no

smarlowe
02-16-2001, 04:01 PM
Try two things:

move the --with-pdflib switch to be first, and give it no args, and check to make sure that /usr/local/lib is in the /etc/ld.so.conf file and you've run ldconfig to let linux know that you added that line (if you added it. If it's already there since your last boot no worry)