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

(ITS#8052) OpenLDAP not compiling on Ubuntu

Full_Name: Jorge F. Hernandez
Version: 2.3.43
OS: Ubuntu 14.04
Submission from: (NULL) (

Hey guys,

I'm trying to compile OpenLDAP 2.3.43 (can't use 2.4.x) on Ubuntu 14.04, but I'm
getting this:

(cd .libs && rm -f libldap.la && ln -s ../libldap.la libldap.la)
/bin/sh ../..//libtool --mode=link cc -static -fPIC     -o apitest apitest.o
libldap.la ../../libraries/liblber/liblber.la
../../libraries/liblutil/liblutil.a   -lssl -lcrypto   -lresolv  
cc -fPIC -o apitest apitest.o  ./.libs/libldap.so
../../libraries%2ibiblber/.libs/liblber.so ../../libraries/liblutil/liblutil.a
-lssl -lcrypto -lresolv -Wl,--rpath
-Wl,/home/user/Downloads/openldap-2.3.43/libraries/libldap/.libs -Wl,--rpath
./.libs/libldap.so: undefined reference to `ssl3_send_alert'
collect2: error: ld returned 1 exit status
make[2]: *** [apitest] Error 1
make[2]: Leaving directory
make[1]: *** [all-common] Error 1
make[1]: Leaving directory `/home/user/Downloads/openldap-2.3.43/libraries'
make: *** [all-common] Error 1

I have OpenSSL 1.2 on my Ubuntu, but I don't know what is happening.

How can I solve this?