From:             [EMAIL PROTECTED]
Operating system: Linux 2.4.2 (SuSE 6.4+)
PHP version:      4.0.5
PHP Bug Type:     Compile Failure
Bug description:  zlib w/ adabas - compile fails on configure

checking whether to include zlib support... yes
checking for gzgets in -lz... no
configure: error: Zlib module requires zlib >= 1.0.9.

even though zlib version 1.1.3 is installed. If I take
'--with-adabas=/usr/lib/adabas' out it works. 

This is dupe of Bug #10739 that relates this to IMAP but I
have no trouble including '--with-imap=yes'. Here is the end
of config.log and thanks!

configure:47629: checking whether to include YP support
configure:47826: checking whether to include zlib support
configure:48027: checking for gzgets in -lz
configure:48046: gcc -o conftest -g -O2 
-DHARD_SERVER_LIMIT=2048 -DDYNAMIC_MODULE_LIMIT=128
-DLINUX=22 -DMOD_SSL=208100 -DEAPI -DUSE_EXPAT
-DSUPPORT_UTF8 -DXML_BYTE_ORDER=12 -L/usr/lib 
-Wl,-rpath,/usr/lib/adabas/lib -L/usr/lib/adabas/lib
-Wl,-rpath,/usr/local/src/php-4.0.5/ext/odbc
-L/usr/local/src/php-4.0.5/ext/odbc
-Wl,-rpath,/usr/lib/pgsql -L/usr/lib/pgsql conftest.c -lz 
-lsnmp -lexpat -lsablot -lreadline -lhistory -lpq
-lodbc_adabas -lsqlrte -lsqlptc -lmysqlclient -lldap -llber
-lttf -lz -lpng -lgd -ljpeg -lgdbm -lssl -lcrypto -lresolv
-lm -ldl -lcrypt -lnsl  -lresolv -L/usr/lib -ljpeg 1>&5
/usr/i486-suse-linux/bin/ld: cannot find -lodbc_adabas
collect2: ld returned 1 exit status
configure: failed program was:
#line 48035 "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; }
config.log line 1389/1425 (END)



-- 
Edit Bug report at: http://bugs.php.net/?id=10982&edit=1



-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to