libtool
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

libltdl.so: undefined reference to `dlopen_LTX_get_vtable'


From: Fabiano Sidler
Subject: libltdl.so: undefined reference to `dlopen_LTX_get_vtable'
Date: Sun, 21 Jun 2009 19:24:13 +0200
User-agent: Mutt/1.5.13 (2006-08-11)

Hi folks!

Compiling (OpenLDAP 2.4.16) in a chroot, i'm getting this libtool error
while configuring:

=== snip ===
[...]
configure:13760: checking ltdl.h usability
configure:13777: cc -c -g -O2  conftest.c >&5
configure:13783: $? = 0
configure:13797: result: yes
configure:13801: checking ltdl.h presence
configure:13816: cc -E  conftest.c
configure:13822: $? = 0
configure:13836: result: yes
configure:13869: checking for ltdl.h
configure:13877: result: yes
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'
collect2: ld returned 1 exit status
configure:13938: $? = 1
configure: failed program was:
| /* confdefs.h.  */
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define OPENLDAP_PACKAGE "OpenLDAP"
| #define OPENLDAP_VERSION "2.4.16"
| #define LDAP_VENDOR_VERSION 20416
| #define LDAP_VENDOR_VERSION_MAJOR 2
| #define LDAP_VENDOR_VERSION_MINOR 4
| #define LDAP_VENDOR_VERSION_PATCH 16
| #define HAVE_MKVERSION 1
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_DLFCN_H 1
| #define EXEEXT ""
| #define HAVE_LTDL_H 1
| /* end confdefs.h.  */
|
| /* Override any GCC internal prototype to avoid an error.
|    Use char because int might match the return type of a GCC
|    builtin and then its argument prototype would still apply.  */
| #ifdef __cplusplus
| extern "C"
| #endif
| char lt_dlinit ();
| int
| main ()
| {
| return lt_dlinit ();
|   ;
|   return 0;
| }
configure:13956: result: no
configure:13971: error: could not locate libtool -lltdl
=== snap ===

What's the matter, actually? Or is my chroot env borked?

Greetings
Fabiano




reply via email to

[Prev in Thread] Current Thread [Next in Thread]