php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #23648 Cannot link PHP, gets link-time error looking for 'liblutil'
Submitted: 2003-05-15 17:26 UTC Modified: 2003-05-19 10:30 UTC
From: jleafey at utmem dot edu Assigned:
Status: Not a bug Package: Compile Failure
PHP Version: 4.3.2RC2 OS: HP Tru64 V5.1a
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: jleafey at utmem dot edu
New email:
PHP Version: OS:

 

 [2003-05-15 17:26 UTC] 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.)



Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2003-05-15 18:34 UTC] 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-19 10:12 UTC] 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-19 10:30 UTC] sniper@php.net
Still not PHP problem -> bogus.

 
PHP Copyright © 2001-2026 The PHP Group
All rights reserved.
Last updated: Wed Oct 07 13:00:02 2026 UTC