Greetings:

I am trying to install php on my Redhat 7.1 box, but when I run the
configure script:
./configure --with-mysql=../mysql --with-apxs=/www/apache/bin/apxs --with-zl
ib=/usr/lib

I get this warning:
checking for crypt in -lcrypt... yes

Configuring extensions
checking if the location of ZLIB install directory is defined... no
checking whether to include ZLIB support... yes
configure: error: Cannot find libz

Which, will still let php compile, but it will screw up apache when it tries
to load the php module, as shown here:
# ./bin/apachectl start
Syntax error on line 205 of /www/apache/conf/httpd.conf:
Cannot load /web/apache/libexec/libphp4.so into server:
/web/apache/libexec/libphp4.so: undefined symbol: uncompress
./bin/apachectl start: httpd could not be started

This is the stuff I have installed:
zlib-1.1.3-22 (rpm, from install)
apache_1.3.22 (I installed this by hand)
php-4.0.6 (this is the version I am trying to install)

Do I have to reinstall ZLIB?  If so, what do I do about this:

# rpm -e zlib
error: removing these packages would break dependencies:
        zlib is needed by cvs-1.11-3
        libz.so.1   is needed by gnupg-1.0.4-11
        libz.so.1   is needed by lynx-2.8.4-9
        libz.so.1   is needed by python-1.5.2-30
        libz.so.1   is needed by rpm-4.0.2-8
        libz.so.1   is needed by rpm-python-4.0.2-8
        libz.so.1   is needed by util-linux-2.10s-12
        libz.so.1   is needed by openssh-2.5.2p2-5
        libz.so.1   is needed by openssh-clients-2.5.2p2-5
        libz.so.1   is needed by openssh-server-2.5.2p2-5
        libz.so.1   is needed by cvs-1.11-3
        libz.so.1   is needed by rpm-build-4.0.2-8

Can I somehow force-remove it and then just compile zlib myself and
everything will be happy, or what?

Any help would be greatly appreciated.

--
Matt Orlando



-- 
PHP Install 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