Re: PHP-4.0.1pl2 errors

From: Date: Tue, 01 Aug 2000 22:21:53 +0000
Subject: Re: PHP-4.0.1pl2 errors
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-9585@lists.php.net to get a copy of this message
Looks like the problem is it can't find your snmp library. Either remove --with-snmp from your configure line or install an snmp library. -Rasmus On Tue, 1 Aug 2000, Jim Brown, Sr. wrote: > Hello, > > I'm having problems compiling PHP-4.0.1pl2. Here's the error message along with > the last 30 lines of 'config.log': > > > **** snippets **** > > checking whether to include zlib support... yes > checking for gzgets in -lz... no > configure: error: Zlib module requires zlib >= 1.0.9. > > > <hostname> $ tail -30 config.log > > main () { > /* Are we little or big endian? From Harbison&Steele. */ > union > { > long l; > char c[sizeof (long)]; > } u; > u.l = 1; > exit (u.c[sizeof (long) - 1] == 1); > } > configure:37047: checking for XML support > configure:37428: checking for YAZ support > configure:37777: checking whether to include YP support > configure:37962: checking whether to include zlib support > configure:38151: checking for gzgets in -lz > configure:38170: gcc -o conftest -g -O2 -D_POSIX_PTHREAD_SEMANTICS > -DXML_BYTE_ORDER=21 -L/usr/local/lib -R/usr/ucblib -L/usr/ucblib > -R/usr/local/imapd/imap-4.7c/lib -L/usr/local/imapd/imap-4.7c/lib > -R/usr/local/mysql/lib -L/usr/local/mysql/lib -R/usr/local/lib -L/usr/local/lib > conftest.c -lz -lsnmp -lmysqlclient -lz -lpng -lgd -lresolv -lresolv -lm -ldl > -lcrypt -lnsl -lsocket -lsocket 1>&5 > ld: fatal: library -lsnmp: not found > ld: fatal: File processing errors. No output written to conftest > collect2: ld returned 1 exit status > configure: failed program was: > #line 38159 "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 gzgets(); > > int main() { > gzgets() > ; return 0; } > > ******************* > > Can someone give me a clue as to what's happening??? I have zlib v1.1.3 > installed in /usr/local. > > TIA >

« previous php.general (#9585) next »