Bug #10067 Updated: zlib not included when compiled with apache
| From: | jmoore@php.net | Date: | Mon, 30 Apr 2001 11:56:30 +0000 |
| Subject: | Bug #10067 Updated: zlib not included when compiled with apache | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-53058@lists.php.net to get a copy of this message | ||
ID: 10067
Updated by: jmoore
Reported By: rusty@socrates.berkeley.edu
Old-Status: Feedback
Status: Closed
Bug Type: MySQL related
PHP Version: 4.0.4pl1
Assigned To:
Comments:
No feedback
closing
Previous Comments:
---------------------------------------------------------------------------
[2001-03-30 14:32:47] sniper@php.net
Could you please try the latest CVS snapshot from http://snaps.php.net/ as this should be fixed.
--Jani
---------------------------------------------------------------------------
[2001-03-29 19:48:35] rusty@socrates.berkeley.edu
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] rusty@socrates.berkeley.edu
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] rusty@socrates.berkeley.edu
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