Problems compiling with PDF support

From: Date: Tue, 01 May 2001 21:17:42 +0000
Subject: Problems compiling with PDF support
Groups: php.general 
Request: Send a blank email to php-general+get-51026@lists.php.net to get a copy of this message
Hello, I've been scouring the archives, but none of the solutions presented are helping me... I've got php 4.0.5 and am trying to compile support for pdflib-4.0.0. Here's how I compiled pdflib: ./configure make make install Looks successful, right? ldconfig -v | grep libpdf libpdf.so.1 => libpdf.so.1.1.0 ls -1 /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.0 And here's how I'm compiling PHP: ./configure \ --enable-versioning \ --enable-track-vars \ --with-mysql=/usr/local/mysql \ --with-imap=/var/src/imap-4.5 \ --with-curl=/var/src/curl-7.5.1 \ --enable-gd-imgstrttf \ --with-gd=../gd-1.8.3 \ --with-ttf \ --with-tiff-dir=/usr \ --with-jpeg-dir=/usr \ --with-zlib-dir=/usr \ --with-png-dir=/usr/local \ --with-pdflib=/usr/local/lib (I'm now building CGI mode for testing so I don't have to keep restarting my production web server) The only mention of pdflib from ./configure is this: checking whether to include PDFlib support... yes I've also tried: --with-pdflib=/var/src/libpdf-4.0.0 (src directory) --with-pdflib=/usr/local/lib/libpdf.so (directly to the lib itself) And cp ../pdflib-4.0.0/bind/php/ext/pdf/* ext/pdf/ ... Same results. php -i does NOT mention anything about PDF, and the pdfclock example fails with: "Fatal error: Call to undefined function: pdf_new()" NOTE: I've been doing (make clean ; rm config.cache config.status) between each ./configure. I've also started with clean source a few times. I've been working on this for a few days now, and am out of ideas. I'd appreciate any and all suggestions! Thanks, Bill Shupp

« previous php.general (#51026) next »