RE: [PHP4BETA] pdflib and thread support broken in 4.0b2? gd and snmp update?

From: Date: Thu, 26 Aug 1999 08:45:20 +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-3748@lists.php.net to get a copy of this message
> -----Original Message----- > From: Chris Cosentino [mailto:cosentino@lucent.com] > Sent: 25 August 1999 07:48 PM > To: Samuel Liddicott; php4beta@lists.php.net > Subject: Re: [PHP4BETA] pdflib and thread support broken in 4.0b2? gd > and snmp update? > > 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 So.... are you sure you have pdflib 2.0.1 ? Where is it installed? Do you also have an older version of pdflib? I stick purely to rpm's (even if I have to roll my own) so its very easy to remove one version of something and add a later version. Let me know where you installed the pdflib. Sam > 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; } > > > -- > PHP 4 Beta

« previous php.version4 (#3748) next »