note 7040 deleted from PDF functions by ronabop
| From: | ronabop@php.net | Date: | Mon, 21 Aug 2000 06:25:14 +0000 |
| Subject: | note 7040 deleted from PDF functions by ronabop | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-2826@lists.php.net to get a copy of this message | ||
I do have to say that it is quite a task to get PHP to work with pdflib, and I hope someone can help
me out with what is hopefully the last problem :)<br><br>
So, I've got php-4.0.1pl2, and pdflib-3.01. After a couple of hours I've finaly discovered
that you need to use ./configure --enable-shared-pdflib to get an .so file you can use to compile
php4 with pdflib support.. great, it compiles, makes, make installs.. no probs.
<br><br>
now I just need to recompile apache(1.3.12) to use this php4 module, so I type "./configure
--prefix=/www --activate-module=src/modules/php4/libphp4.a", and after that I
"make"... Now at some point I get:<br>modules/php4/libphp4.a(pdf.o): In function
`php_if_pdf_set_leading':
/home/installer/php-4.0.1pl2/ext/pdf/pdf.c:807: undefined reference to `PDF_set_leading'
modules/php4/libphp4.a(pdf.o): In function `php_if_pdf_set_text_rendering':
/home/installer/php-4.0.1pl2/ext/pdf/pdf.c:834: undefined reference to `PDF_set_text_rendering'
modules/php4/libphp4.a(pdf.o): In function `php_if_pdf_set_horiz_scaling':
/home/installer/php-4.0.1pl2/ext/pdf/pdf.c:861: undefined reference to `PDF_set_horiz_scaling'
modules/php4/libphp4.a(pdf.o): In function `php_if_pdf_set_text_rise':
(and a bunch moreundefined references which I'll spare y'all :)
<br><br>
Does anyone know what should be done to fix this or what I'm doing wrong, or if I'm using
wrong versions again(latest of everything as far as i know) Please mail me !
<br><br>
Thanks a bunch!
Joost