#23648 [Csd->Bgs]: Cannot link PHP, gets link-time error looking for 'liblutil'
| From: | sniper@php.net | Date: | Mon, 19 May 2003 15:30:06 +0000 |
| Subject: | #23648 [Csd->Bgs]: Cannot link PHP, gets link-time error looking for 'liblutil' | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-39981@lists.php.net to get a copy of this message | ||
ID: 23648
Updated by: sniper@php.net
Reported By: jleafey at utmem dot edu
-Status: Closed
+Status: Bogus
Bug Type: Compile Failure
Operating System: HP Tru64 V5.1a
PHP Version: 4.3.2RC2
New Comment:
Still not PHP problem -> bogus.
Previous Comments:
------------------------------------------------------------------------
[2003-05-19 10:12:48] jleafey at utmem dot edu
Problem was with the OpenLDAP libraries. I built a static version of
an older version and linked PHP against that, the link step worked
fine. Apparently something in libldap.so or libber.so was causing the
linker to chase a reference to liblutil. Sorry for the 'noise'!
------------------------------------------------------------------------
[2003-05-15 18:34:26] sniper@php.net
There is no place in PHP configure where we'd add '-llutil'
so this can't possibly be any bug in our part. It's most likely just
your LD_LIBRARY_PATH that is missing some path.
------------------------------------------------------------------------
[2003-05-15 17:26:16] jleafey at utmem dot edu
Modules:
mm-1.1.3
zlib-1.1.4
jpeg-6b
libpng-1.2.1b
tiff-v3.5.7b
freetype-2.1.2
gd-1.8.4
imap-2002.RC10
mhash-0.8.17
OpenLDAP-2.0.23
Configure statement:
CC="cc -pthread" \
CFLAGS="-O1 -std -I${BUILD_PATH}/include -L${BUILD_PATH}/lib
-DDONT_USE_THR_ALARM" \
./configure \
--prefix=${APACHE_PATH} \
--with-config-file-path=${APACHE_PATH}/lib \
--enable-memory-limit=yes \
--enable-track-vars \
--with-name-thread-libs="-lpthread -lmach -lexc" \
--with-calendar=shared \
--enable-versioning \
--without-mysql \
--with-oci8=${ORACLE_HOME} \
--with-openssl=/usr/local/ssl \
--with-imap-ssl=/usr/local/ssl \
--with-mm=${BUILD_PATH} \
--with-imap=${BUILD_ROOT}/imap-2002.RC10 \
--with-zlib-dir=/usr/local \
--with-gd=${BUILD_PATH} \
--with-png-dir=/usr/local \
--with-jpeg-dir=/usr/local \
--with-freetype-dir=${BUILD} \
--with-ldap=/usr/internet/openldap \
--with-mhash=${BUILD_PATH} \
--with-dbm \
--enable-ftp \
--enable-dbase \
--enable-dbm
Tail of output from re-run of 'make':
-o sapi/cgi/php
ld:
Can't locate file for: -llutil
*** Exit 1
Stop.
(output too big to paste into window, can mail it or put it up on a web
site.)
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=23648&edit=1