[Date Prev][Date Next] [Chronological] [Thread] [Top]

Re: Undefined reference to `ldap_int_tls_impl'



On 08/03/2011 09:42 PM, Michael Alexeev wrote:
Sorry, if this is a duplicate e-mail but it looks like my original one didn't make it through.

Hi All,

I am trying to build OpenLDAP with the MySQL Cluster but make is exiting with the following error: ./.libs/libldap.a(tls2.o):(.data+0x0): undefined reference to `ldap_int_tls_impl'
collect2: ld returned 1 exit status

the configure command I use is:
./configure --enable-ndb=yes --enable-bdb=no --enable-hdb=no --with-tls=moznss

Omitting --with-tls option didn't help.

additional flags are
export CPPFLAGS="-I/usr/include -I/usr/include/nss -I/usr/include/nspr"
export LDFLAGS="-L/usr/lib/nss -L/usr/local/lib -L/usr/local/libexec -L/usr/lib64"

OpenLDAP version is 2.4.26
OS is ubuntu 2.6.32-30-server x86_64
Compiler is gcc 4.4.3

The config file is attached.

I found an email thread with the exact same problem
http://www.openldap.org/lists/openldap-technical/201102/msg00273.html

but no solution was mentioned there.
Do you want to use Mozilla NSS for crypto?
When you did "make" did it attempt to compile libraries/libldap/tls_m.c?

Thank you in advance,
Mike Alexeev