note 8854 deleted from ref.pdf by didou
| From: | didou@php.net | Date: | Fri, 08 Aug 2003 21:58:59 +0000 |
| Subject: | note 8854 deleted from ref.pdf by didou | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-53707@lists.php.net to get a copy of this message | ||
Note Submitter: @boas.anthro.mnsu.edu
----
My process to get this all working:
I use debian, so I used dselect to make sure that I had libtiff and libjpeg.
Compile pdflib 3.02 "./configure --enabled-shared-pdflib --enable-cxx --enable-static
--enable-shared --with-tifflib=/usr/lib --with-tiffauxlib=-ljpeg"
"make" then "make test" and "make install"
Edit /etc/ld.so.conf and include the line "/usr/local/lib"
"ln -s /usr/lib/libtiff.so.3.5.4 /usr/lib/libtiff.so"
"ln -s /usr/lib/libjpeg.so.62.0.0 /usr/lib/libjpeg.so"
"ldconfig"
Recompile PHP with "--with-pdflib"
If that doesn't work, make sure to check the last few lines of config.log ("tail -n 25
config.log") and look for errors. Worked finally for me with PHP 4.0.2.