Re: [PHP4BETA] pdflib and thread support broken in 4.0b2? gd and snmp update?
| From: | Chris Cosentino | Date: | Wed, 25 Aug 1999 18:47:39 +0000 |
| Subject: | Re: [PHP4BETA] pdflib and thread support broken in 4.0b2? gd and snmp update? | ||
| References: | 1 | Groups: | php.version4 |
| Request: | Send a blank email to php-version4+get-3727@lists.php.net to get a copy of this message | ||
> What errors are you getting?
>
> Sam
I configure with:
./configure --with-apxs=/usr/sbin/apxs --with-mysql \
--with-zlib=/usr/include \
--with-libtiff=/usr/lib \
--with-pdflib \
--with-freetype
And it dies out on me with:
checking for PDF_close in -lpdf... no
configure: error: pdflib extension requires pdflib 2.x. You may as well need
libtiff and libjpeg. In such a case use the options ...
Here's the end of config.log:
configure:10202: gcc -o conftest -g -O2 -g -rdynamic
onftest.c -lpdf -lgd -lm -lcrypt -lnsl -lresolv 1>&5
/usr/local/lib/libpdf.so: undefined reference to `deflate'
/usr/local/lib/libpdf.so: undefined reference to `TIFFSetWarningHandler'
/usr/local/lib/libpdf.so: undefined reference to `TIFFGetFieldDefaulted'
/usr/local/lib/libpdf.so: undefined reference to `TIFFReadRGBAImage'
/usr/local/lib/libpdf.so: undefined reference to `_TIFFmalloc'
/usr/local/lib/libpdf.so: undefined reference to `_TIFFfree'
/usr/local/lib/libpdf.so: undefined reference to `deflateInit_'
/usr/local/lib/libpdf.so: undefined reference to `TIFFSetErrorHandler'
/usr/local/lib/libpdf.so: undefined reference to `TIFFClose'
/usr/local/lib/libpdf.so: undefined reference to `TIFFOpen'
/usr/local/lib/libpdf.so: undefined reference to `TIFFGetField'
/usr/local/lib/libpdf.so: undefined reference to `deflateEnd'
collect2: ld returned 1 exit status
configure: failed program was:
#line 10191 "configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error. */
/* We use char because int might match the return type of a gcc2
builtin and then its argument prototype would still apply. */
char PDF_close();
int main() {
PDF_close()
; return 0; }