LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
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.

Notices


Reply
  Search this Thread
Old 02-18-2004, 06:46 PM   #1
ridertech
Member
 
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...

--with-zlib
--with-zlib=/usr
--with-zlib=/usr/lib

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/libz.so.1 (sym link to 1.1.4)
/usr/lib/libz.so.1.1.4

I'm stuck. Has anyone seen this or know of a work-around? Thanks in advance.
 
Old 02-19-2004, 03:23 PM   #2
ridertech
Member
 
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, 11:14 PM   #3
ekelley
LQ Newbie
 
Registered: Aug 2008
Posts: 1

Rep: Reputation: 0
zlib-devel

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


Reply


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 03:17 PM
Can't find php configure NW Otter Linux - Software 1 09-24-2003 01:33 AM
libz error when installing messenger sw - kopete, kmess darrenj Linux - Newbie 4 08-29-2003 01:52 AM
configure: error: Could not find -lSDL_mixer wakeupbomb Slackware 5 07-29-2003 06:23 PM
php 4.3.2 configure error adrianmak Linux - Software 0 06-19-2003 09:23 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 03:08 PM.

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