php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #4423 configure fails with zlib error =>1.0.9 but zlib is 1.1.3
Submitted: 2000-05-12 10:15 UTC Modified: 2000-07-17 12:14 UTC
From: skripi at igd dot fhg dot de Assigned:
Status: Closed Package: Compile Failure
PHP Version: 4.0 Release Candidate 2 OS: SunOS yoyoma 5.6 Generic_105181-
Private report: No CVE-ID: None
 [2000-05-12 10:15 UTC] skripi at igd dot fhg dot de
script: configure command line below:

./configure --with-apxs=/usr/local/apache/bin/apxs --enable-versioning --enable-magic-quotes --enable-track-vars --with-config-file-path=/usr/local/apache/conf/php.ini --with-ldap=/usr/local/ldap  --with-xml  --with-gd=/usr/local/gd  --with-zlib=/usr/local/.zlib-1.1.3/  --with-gdbm=/usr/local/gdbm --with-yp --with-ftp

What do I have to do, to convince configure, that
the zlib is ok ?

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2000-05-12 15:06 UTC] skripi at igd dot fhg dot de
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 ?

 [2000-07-01 12:30 UTC] sr at cvs dot php dot net
Please try PHP 4.0.1 - does it work now?
 [2000-07-01 12:30 UTC] sr at cvs dot php dot net
Please try PHP 4.0.1 - does it work now?
 [2000-07-17 12:06 UTC] skripi at igd dot fhg dot de
yes thanks.
 [2000-07-17 12:14 UTC] sterling at cvs dot php dot net
Then its fixed.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Wed May 15 19:01:34 2024 UTC