PHP 4.0 Bug #6028: zlib error (related to -lX11?)
| From: | ab0781 at wayne dot edu | Date: | Tue, 08 Aug 2000 20:36:06 +0000 |
| Subject: | PHP 4.0 Bug #6028: zlib error (related to -lX11?) | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-28141@lists.php.net to get a copy of this message | ||
From: ab0781@wayne.edu
Operating system: Mandrake-Linux 7.1
PHP version: 4.0.1pl2
PHP Bug Type: Installation problem
Bug description: zlib error (related to -lX11?)
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