Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 02-18-2004, 05:46 PM   #1
Registered: Dec 2003
Location: Seattle, Washington
Distribution: Debian 'Sarge'
Posts: 85

Rep: Reputation: 15
PHP configure error: Cannot find libz

I'm trying to install PHP 4.3.4 on Debian (2.4.18-686), but I'm getting a libz error. I've tried each of the following configure options...


But it stops on this error...

checking for ZLIB support... yes
checking if the location of ZLIB install direcotry is defined... no
configure: error: Cannot find libz

Yet here are the files...

/usr/libz.a (sym link to 1.1.4)
/usr/lib/ (sym link to 1.1.4)

I'm stuck. Has anyone seen this or know of a work-around? Thanks in advance.
Old 02-19-2004, 02:23 PM   #2
Registered: Dec 2003
Location: Seattle, Washington
Distribution: Debian 'Sarge'
Posts: 85

Original Poster
Rep: Reputation: 15
Angry Worthless w/o PHP

Please help... my server is worthless w/o PHP!
Old 08-08-2008, 10:14 PM   #3
LQ Newbie
Registered: Aug 2008
Posts: 1

Rep: Reputation: 0

If its no finding it you probably donít have the developer version of zlib installed so do a yum install zlib-devel


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
PHP 4.3.4 configure error willatwork Linux - Software 3 05-25-2005 02:17 PM
Can't find php configure NW Otter Linux - Software 1 09-24-2003 12:33 AM
libz error when installing messenger sw - kopete, kmess darrenj Linux - Newbie 4 08-29-2003 12:52 AM
configure: error: Could not find -lSDL_mixer wakeupbomb Slackware 5 07-29-2003 05:23 PM
php 4.3.2 configure error adrianmak Linux - Software 0 06-19-2003 08:23 PM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 06:39 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration