ID: 10982 Updated by: sniper Reported By: [EMAIL PROTECTED] Old-Status: Open Status: Closed Bug Type: Compile Failure Operating system: PHP Version: 4.0.5 Assigned To: Comments: user error. Use the install prefixes for configure options. --Jani Previous Comments: --------------------------------------------------------------------------- [2001-05-21 18:10:43] [EMAIL PROTECTED] doh! I assumed it had already found it because adabas comes before zlib alphabetically; and Mr. RPM told me it was there ;] So I dont know if this still qualifies as a bug or a PEBKAC but thanks for your prompt reply -S --------------------------------------------------------------------------- [2001-05-21 12:43:23] [EMAIL PROTECTED] So is there a libodbc_adabas.so (or .a) in /usr/lib/adabas/lib ?? --Jani --------------------------------------------------------------------------- [2001-05-21 04:16:50] [EMAIL PROTECTED] 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) --------------------------------------------------------------------------- ATTENTION! Do NOT reply to this email! To reply, use the web interface found at http://bugs.php.net/?id=10982&edit=2 -- 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]