php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #10982 zlib w/ adabas - compile fails on configure
Submitted: 2001-05-21 04:16 UTC Modified: 2001-05-21 18:28 UTC
From: sbeam at mediaone dot net Assigned:
Status: Closed Package: Compile Failure
PHP Version: 4.0.5 OS: Linux 2.4.2 (SuSE 6.4+)
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: sbeam at mediaone dot net
New email:
PHP Version: OS:

 

 [2001-05-21 04:16 UTC] sbeam at mediaone dot net
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)

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2001-05-21 12:43 UTC] sniper@php.net
So is there a libodbc_adabas.so (or .a) in /usr/lib/adabas/lib ??

--Jani

 [2001-05-21 18:10 UTC] sbeam at mediaone dot net
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 18:28 UTC] sniper@php.net
user error. Use the install prefixes for configure options.

--Jani

 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Tue May 06 00:01:29 2025 UTC