Ok, thanks.

   Date: 30 Mar 2001 19:32:47 -0000
   To: [EMAIL PROTECTED]
   Subject: PHP 4.0 Bug #10067 Updated: zlib not included when compiled with apache
   From: Bug Database <[EMAIL PROTECTED]>

   ID: 10067
   Updated by: sniper
   Reported By: [EMAIL PROTECTED]
   Old-Status: Open
   Status: Feedback
   Bug Type: Compile Problem
   Assigned To: 
   Comments:

   Could you please try the latest CVS snapshot from http://snaps.php.net/ as this 
should be fixed.

   --Jani


   Previous Comments:
   ---------------------------------------------------------------------------

   [2001-03-29 19:48:35] [EMAIL PROTECTED]
   Just a note on what's in the libmysqlclient.la file; the dependency_libs= line has

    -lz -lcrypt -lgen -lsocket -lnsl -lm

   I'm puzzled as to why php apparently isn't using this .la file.


   ---------------------------------------------------------------------------

   [2001-03-29 18:25:50] [EMAIL PROTECTED]
   When I initially compile apache I'm configuring it with:

    CFLAGS="-O2 -pipe" ; export CFLAGS
    PATH=/usr/local/bin:${PATH} ; export PATH

    configure 
           --prefix=/wmf/apache 
           --enable-module=so 
           --enable-module=most 
           --disable-shared=all 
           --disable-module=autoindex 
           --disable-module=cern_meta 
           --disable-module=proxy 
           --disable-module=speling 
           --disable-module=unique_id 
           --disable-module=usertrack 
           --disable-module=userdir

   When I configure php I'm using:

    PATH=/usr/local/bin:${PATH} ; export PATH
    CFLAGS="-O2 -pipe" ; export CFLAGS
    EXTRA_LIBS=-L/usr/local/lib ; export EXTRA_LIBS

    configure 
           --prefix=/wmf/apache 
           --with-apache=/wmf/src/apache_1.3.19 
           --with-config-file-path=/wmf/apache/conf 
           --with-xml 
           --enable-wddx 
           --enable-track-vars 
           --enable-trans-sid 
           --enable-inline-optimization 
           --disable-pear 
           --disable-posix-threads 
           --disable-shared 
           --enable-static 
           --with-oci8=/wmf/oracle/oracle8i_r3v5 
           --with-mysql=/wmf/mysql 
           --with-ldap=/usr/local 
           --enable-libgcc

   And the final configure of apache is

    CFLAGS="-O2 -pipe" ; export CFLAGS
    PATH=/usr/local/bin:${PATH} ; export PATH

    sh configure 
           --prefix=/wmf/apache 
           --enable-module=so 
           --enable-module=most 
           --disable-shared=all 
           --disable-module=autoindex 
           --disable-module=cern_meta 
           --disable-module=proxy 
           --disable-module=speling 
           --disable-module=unique_id 
           --disable-module=usertrack 
           --disable-module=userdir 
           --activate-module=src/modules/php4/libphp4.a



   ---------------------------------------------------------------------------

   [2001-03-29 18:21:08] [EMAIL PROTECTED]
   Apache-1.3.19, mysql-3.23.36, php-4.0.4pl1

   Everything compiles ok until I get to the final apache compile and then it bombs on 
missing symbols compress and uncompress.  They are used in libmysqlclient.a and the 
code for them is in /lib/libz.a but the final compile of apache doesn't have -lz.  
When I add that then it compiles.  I'm linking static, not dso.


   ---------------------------------------------------------------------------



   ATTENTION! Do NOT reply to this email!
   To reply, use the web interface found at http://bugs.php.net/?id=10067&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]

Reply via email to