#20354 [Bgs]: cannot find -lX11
| From: | sniper@php.net | Date: | Mon, 11 Nov 2002 16:37:53 +0000 |
| Subject: | #20354 [Bgs]: cannot find -lX11 | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-24594@lists.php.net to get a copy of this message | ||
ID: 20354
Updated by: sniper@php.net
Reported By: harley@harleyserver.de
Status: Bogus
Bug Type: Compile Failure
Operating System: Sese 8
PHP Version: 4CVS-2002-11-11
New Comment:
It's '--with-xpm-dir' btw. Not --with-xpm and it's still some problem
within your system if libX11.so is not found.
Previous Comments:
------------------------------------------------------------------------
[2002-11-11 10:25:52] harley@harleyserver.de
Hmm if i drop --with-xpm the same error appears.
------------------------------------------------------------------------
[2002-11-11 10:09:31] sniper@php.net
Just drop the '--with-xpm-dir' out of your configure line
and this error goes away. (delete config.cache before you
reconfigure!)
Or install the X11 devel rpms..
Not a bug.
------------------------------------------------------------------------
[2002-11-11 03:47:26] harley@harleyserver.de
Hello,
i have truble to complile php. I´ve no idea what´s wrong
with it. Can you help me to figure it out?
Version:
----------
php4-200211101739
and
php4-STABLE-latest (10-Nov-2002 17:41)
Configure Line:
------------------
./configure --prefix=/usr/share --datadir=/usr/share/php
--bindir=/usr/bin --libdir=/usr/share --includedir=/usr/include
--with-config-file-path=/etc --with-exec-dir=/usr/lib/php/bin
--disable-debug --enable-bcmath --enable-calendar --enable-ctype
--enable-dbase --enable-discard-path --enable-exif --enable-filepro
--enable-force-cgi-redirect --enable-ftp
--enable-gd-imgstrttf --enable-gd-native-ttf
--enable-inline-optimization --enable-magic-quotes
--enable-memory-limit
--enable-safe-mode --enable-shmop --enable-sigchild --enable-sysvsem
--enable-sysvshm --enable-track-vars --enable-trans-sid
--enable-versioning --enable-wddx --enable-yp --with-bz2
--with-dom=/usr/include/libxml2 --with-ftp --with-gdbm --with-gettext
--with-gmp --with-imap --with-jpeg-dir=/usr --with-ldap=yes
--with-mcal=/usr --with-mcrypt --with-mysql --with-ndbm
--with-png-dir=/usr/lib --with-qtdom=/usr/lib/qt2 --with-snmp
--with-t1lib --with-tiff-dir=/usr --with-ttf
--with-freetype-dir=/usr/include/freetype2 --with-xml --with-xpm
--with-zlib=yes --with-openssl=/usr/local/ssl --with-curl=/usr/local
--with-imap-ssl --with-gd=/usr
--with-mm --with-apxs --with-pear
m -lssl -lcrypto -o sapi/cli/php
/usr/i486-suse-linux/bin/ld: cannot find -lX11
collect2: ld returned 1 exit status
make: *** [sapi/cli/php] Fehler 1
LOG:
----
; return 0; }
configure:80148: checking whether dlsym() requires a leading underscore
in symbol names
configure:80216: gcc -o conftest -g -O2 -DEAPI_MM -D_LARGEFILE_SOURCE
-D_FILE_OFFSET_BITS=64 -DHARD_SERVER_LIMIT=2/tmp/ccB0S65Q.o: In
function `main':
/root/php4-200211101739/configure:14666: undefined reference to
`dlopen'
/root/php4-200211101739/configure:14671: undefined reference to
`dlsym'
/root/php4-200211101739/configure:14672: undefined reference to
`dlsym'
collect2: ld returned 1 exit status
configure:80299: checking whether to enable thread-safety
configure:80303: checking whether to enable inline optimization for
GCC
configure:80307: checking whether to enable a memory limit
configure:80311: checking whether to enable Zend debugging
configure:80315: checking whether to enable Zend multibyte
configure:80378: checking for inline
configure:80455: checking for stdarg.h
configure:81730: checking for working mkdir -p
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=20354&edit=1