PHP 4.0 Bug #4423 Updated: configure fails with zlib error =>1.0.9 but zlib is 1.1.3
| From: | Bug Database | Date: | Fri, 12 May 2000 19:06:37 +0000 |
| Subject: | PHP 4.0 Bug #4423 Updated: configure fails with zlib error =>1.0.9 but zlib is 1.1.3 | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-18656@lists.php.net to get a copy of this message | ||
ID: 4423
User Update by: skripi@igd.fhg.de
Status: Open
Bug Type: Compile Failure
Description: configure fails with zlib error =>1.0.9 but zlib is 1.1.3
In configure Lib and Include PATH's are not added properly...
I added / change the following lines after 30572 in configure:
------------
ZLIB_LIBDIR=$ZLIB_DIR
INCLUDES="$INCLUDES -I$ZLIB_LIBDIR/include"
LDFLAGS="$LDFLAGS -L$ZLIB_LIBDIR/lib"
--------------
Now configure works, and zlib modules does compile.
so with the above this issue is solved.
THE NEXT:
after make i checked libphp4.so with "ldd libphp4.so" and got
the following bad output: libpam.so.1 => /usr/lib/libpam.so.1
libdl.so.1 => /usr/lib/libdl.so.1
libclntsh.so.1.0 => (file not found)
libldap.so.1 => (file not found)
libresolv.so.2 => /usr/lib/libresolv.so.2
libm.so.1 => /usr/lib/libm.so.1
libnsl.so.1 => /usr/lib/libnsl.so.1
libsocket.so.1 => /usr/lib/libsocket.so.1
liblber.so.1 => (file not found)
libc.so.1 => /usr/lib/libc.so.1
libmp.so.2 => /usr/lib/libmp.so.2
So it still can't locate two libraries. The ldap thing i can
solve but where does the libclntsh.sw.1.0 come from ?
Full Bug description available at: http://bugs.php.net/version4/?id=4423