On Mon, Jun 22, 2009 at 07:49:56AM +0200, Ralf Wildenhues wrote:
> Hello Fabiano,
>
> * Fabiano Sidler wrote on Sun, Jun 21, 2009 at 07:24:13PM CEST:
> > Compiling (OpenLDAP 2.4.16) in a chroot, i'm getting this libtool error
> > while configuring:
> >
> > configure:13897: checking for lt_dlinit in -lltdl
> > configure:13932: cc -o conftest -g -O2 conftest.c -lltdl >&5
> > /bin/../lib/gcc/x86_64-unknown-linux-gnu/4.4.0/../../../libltdl.so:
> > undefined reference to `dlopen_LTX_get_vtable'
>
> How exactly did you invoke configure?
The openldap's?
./configure \
--prefix= \
--enable-modules \
--enable-ldap \
--enable-posixmutexes \
--with-mutex=POSIX/pthreads
> Did you install libltdl yourself (by installing the Libtool package)
Yes, like anything in the chroot.
> and if yes, how did you configure and build that?
./configure --prefix= --enable-ltdl-install
make
make install
> Can you post the libltdl.la file corresponding to the libltdl.so?
Attached!
Thank you for your help! :)
Greetings,
Fabiano
# libltdl.la - a libtool library file
# Generated by ltmain.sh (GNU libtool) 2.2.4
#
# Please DO NOT delete this file!
# It is necessary for linking the library.
# The name that we can dlopen(3).
dlname='libltdl.so.7'
# Names of this library.
library_names='libltdl.so.7.1.2 libltdl.so.7 libltdl.so'
# The name of the static archive.
old_library='libltdl.a'
# Linker flags that can not go in dependency_libs.
inherited_linker_flags=''
# Libraries that this one depends upon.
dependency_libs=' -ldl'
# Names of additional weak libraries provided by this library
weak_library_names=''
# Version information for libltdl.
current=8
age=1
revision=2
# Is this an already installed library?
installed=yes
# Should we warn about portability when linking against -modules?
shouldnotlink=no
# Files to dlopen/dlpreopen
dlopen=''
dlpreopen=''
# Directory that this library needs to be installed in:
libdir='/lib'
_______________________________________________
http://lists.gnu.org/mailman/listinfo/libtool