|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
[2001-03-29 18:21 UTC] rusty at socrates dot berkeley dot 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. PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Wed Nov 05 02:00:01 2025 UTC |
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