ID: 10067
User Update by: [EMAIL PROTECTED]
Status: Open
Bug Type: Compile Problem
Description: zlib not included when compiled with apache
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.
Previous Comments:
---------------------------------------------------------------------------
[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.
---------------------------------------------------------------------------
Full Bug description available at: http://bugs.php.net/?id=10067
--
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]