php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #6028 zlib error (related to -lX11?)
Submitted: 2000-08-08 16:36 UTC Modified: 2000-08-25 14:35 UTC
From: ab0781 at wayne dot edu Assigned:
Status: Closed Package: Installation problem
PHP Version: 4.0.1pl2 OS: Mandrake-Linux 7.1
Private report: No CVE-ID: None
 [2000-08-08 16:36 UTC] ab0781 at wayne dot edu
When attempting to compile php, I receive an error right around here:

checking whether to include YP support... no
checking whether to include zlib support... yes
checking for gzgets in -lz... no
configure: error: Zlib module requires zlib >= 1.0.9.

I know I have the correct version of zlib installed. I also know I'm attempting to enable a lot of features, but I don't think this should be a problem. Here's the error that I'm given in the debug.log:

gcc -o conftest -g -O2  -DEAPI=1  -Wl,-rpath,/usr/lib/lib -L/usr/lib/lib conftest.c -lsnmp -lmm -lmysqlclient -lldap -lttf -lX11 -lXpm -ljpeg -lz -lpng -lgd -lgdbm -lresolv -lm -ldl -lcrypt -lnsl  -lresolv -L/usr/lib/lib -ljpeg -L/usr/lib/lib -lXpm -lX11 -llber 1>&5
/usr/bin/ld: cannot find -lX11
collect2: ld returned 1 exit status

All of the X11 libraries are present and the correct path is in /etc/ld.so.conf. Any ideas on this one?

Thanks,
Nate

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2000-08-25 14:35 UTC] sniper@php.net
Fixed in CVS.

--Jani
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu Mar 28 10:01:26 2024 UTC