Trying to compile version 2.3.32 RedHat 5 Heimdal 1.0
I've already compiled this without module support and I have a working Kerberos/LDAP directory.
I want module support so I can use the smbk5pwd overlay.
Compile options:
export CPPFLAGS="-I/usr/share/libtool/libltdl";./configure --prefix=/opt/openldap --enable-local --with-cyrus-sasl --with-tls --enable-crypt --enable-spasswd --enable-lmpasswd --enable-cleartext --enable-syncprov --disable-ipv6 --enable-lastmod --enable-unique --enable-syslog --enable-rlookups --enable-ppolicy --enable-debug --enable-hdb --enable-dynamic --enable-modules
Results: checking for afopen in -ls... no checking ltdl.h usability... yes checking ltdl.h presence... yes checking for ltdl.h... yes checking for lt_dlinit in -lltdl... no configure: error: could not locate libtool -lltdl
Any suggestion on how to get around this?
Kent N.
Kent Nasveschuk wrote:
Trying to compile version 2.3.32 RedHat 5 Heimdal 1.0
I've already compiled this without module support and I have a working Kerberos/LDAP directory.
I want module support so I can use the smbk5pwd overlay.
Compile options:
export CPPFLAGS="-I/usr/share/libtool/libltdl";./configure --prefix=/opt/openldap --enable-local --with-cyrus-sasl --with-tls --enable-crypt --enable-spasswd --enable-lmpasswd --enable-cleartext --enable-syncprov --disable-ipv6 --enable-lastmod --enable-unique --enable-syslog --enable-rlookups --enable-ppolicy --enable-debug --enable-hdb --enable-dynamic --enable-modules
Results: checking for afopen in -ls... no checking ltdl.h usability... yes checking ltdl.h presence... yes checking for ltdl.h... yes checking for lt_dlinit in -lltdl... no configure: error: could not locate libtool -lltdl
Any suggestion on how to get around this?
Kent N.
Try something similar to:
env CC=gcc CPPFLAGS="-I/blah/include" \ LDFLAGS="-L/blah/lib" \ LD_LIBRARY_PATH="/blah/lib"
Kent Nasveschuk skrev, on 01-08-2007 14:22:
Trying to compile version 2.3.32 RedHat 5 Heimdal 1.0
[...]
Results: checking for afopen in -ls... no checking ltdl.h usability... yes checking ltdl.h presence... yes checking for ltdl.h... yes checking for lt_dlinit in -lltdl... no configure: error: could not locate libtool -lltdl
Any suggestion on how to get around this?
RHL5 i386:
770 [tonni:mercurius.intern] /u/home/tonni $ locate libltdl --- tons of output --- /usr/lib/libltdl.so --- tons of output --- 771 [tonni:mercurius.intern] /u/home/tonni $ rpm -qf /usr/lib/libltdl.so libtool-ltdl-devel-1.5.22-6.1
RHL5 x86_64 277 [tonni:oikos.leerlingen] /home/tonni $ locate libltdl -- tons of output --- /usr/lib64/libltdl.so -- tons of output --- 278 [tonni:oikos.leerlingen] /home/tonni $ rpm -qf /usr/lib64/libltdl.so libtool-ltdl-devel-1.5.22-6.1
Actually, that would be the x86-64 version.
Do you have libtool-ltdl-devel installed? I'd bet not.
--Tonni
--On Thursday, August 02, 2007 8:24 AM +0200 Tony Earnshaw tonni@hetnet.nl wrote:
Kent Nasveschuk skrev, on 01-08-2007 14:22:
Actually, that would be the x86-64 version.
Do you have libtool-ltdl-devel installed? I'd bet not.
If you read the beginning of his configure statement he sent, it appears he installed his own version of libtool into /usr/share, implying he needs to adjust where gcc looks for libraries to find it.
export CPPFLAGS="-I/usr/share/libtool/libltdl";
--Quanah
-- Quanah Gibson-Mount Principal Software Engineer Zimbra, Inc -------------------- Zimbra :: the leader in open source messaging and collaboration
Quanah Gibson-Mount skrev, on 02-08-2007 18:54:
[...]
If you read the beginning of his configure statement he sent
I did.
it appears he installed his own version of libtool into /usr/share, implying he needs to adjust where gcc looks for libraries to find it.
Now why would he do that, when an OS install including development tools would put it there anyway?
1028 [root:mercurius.intern] /root # rpm -qf /usr/share/libtool/libltdl libtool-1.5.22-6.1
But a standard install *won't* install libtool-ltdl-devel
I build OpenLDAP rpms from Buchan's source on x86_32 and x86_64 RHL5 and they have no trouble in finding the lbtool libs from libtool-ltdl-devel; ergo, OP didn't have it.
Best,
--Tonni
openldap-software@openldap.org