php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #15179 php cannot find zlib when configuring
Submitted: 2002-01-23 04:12 UTC Modified: 2002-01-23 04:32 UTC
From: carlo at parknet dot co dot za Assigned:
Status: Not a bug Package: Zlib related
PHP Version: 4.1.1 OS: Redhat 7.1
Private report: No CVE-ID: None
 [2002-01-23 04:12 UTC] carlo at parknet dot co dot za
I am trying to install mysql-3.23.47-pc-gnu-i686 ; apache-1.3.22 and php-4.1.1 when I type # ]./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

And this causes apache not to start

Please help me I have serched and found similar problems but not many if any solutions.  I am also in a learning process in linux

Thank you

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2002-01-23 04:31 UTC] yohgaki@php.net
Please ask support question to php-general@lists.php.net 
or php-install@lists.php.net.
 [2002-01-23 04:32 UTC] edink@php.net
1. Make sure you have zlib and zlib-devel packages installed.
2. Use --with-zlib=/usr

Reopen if this does not help.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sat Nov 23 07:01:29 2024 UTC