From:             [EMAIL PROTECTED]
Operating system: Sese 8
PHP version:      4CVS-2002-11-11
PHP Bug Type:     Compile Failure
Bug description:  cannot find -lX11

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 bug report at http://bugs.php.net/?id=20354&edit=1
-- 
Try a CVS snapshot:         http://bugs.php.net/fix.php?id=20354&r=trysnapshot
Fixed in CVS:               http://bugs.php.net/fix.php?id=20354&r=fixedcvs
Fixed in release:           http://bugs.php.net/fix.php?id=20354&r=alreadyfixed
Need backtrace:             http://bugs.php.net/fix.php?id=20354&r=needtrace
Try newer version:          http://bugs.php.net/fix.php?id=20354&r=oldversion
Not developer issue:        http://bugs.php.net/fix.php?id=20354&r=support
Expected behavior:          http://bugs.php.net/fix.php?id=20354&r=notwrong
Not enough info:            http://bugs.php.net/fix.php?id=20354&r=notenoughinfo
Submitted twice:            http://bugs.php.net/fix.php?id=20354&r=submittedtwice
register_globals:           http://bugs.php.net/fix.php?id=20354&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=20354&r=php3
Daylight Savings:           http://bugs.php.net/fix.php?id=20354&r=dst
IIS Stability:              http://bugs.php.net/fix.php?id=20354&r=isapi

Reply via email to