Quanah Gibson-Mount wrote:
--On Wednesday, July 02, 2014 4:57 PM -0400 "Darouichi, Aziz" adarouic@post03.curry.edu wrote:
Hi,
I am trying to compile Openldap-2.4.39 in RHEL 6.5 with DB -6-0.30, I run the configure with: env CPPFLAGS="-I/opt/local/db-6.0.30/include" LDFLAGS="-L/opt/local/db-6.0.30/lib" ./configure --enable-hdb --enable-bdb --enable-overlays=mod --enable-ppolicy=yes --enable-passwd --enable-syslog --enable-debug --with-tls --prefix=/opt/local
Why are you compiling against static openssl? Looks like your openssl lib was not built correctly.
Also, I'd suggest skipping BDB entirely and using LMDB instead.
All releases of BerkeleyDB from 6.0.20 onward use AGPLv3 which is incompatible with LDAP. You are, in fact, violating the BerkeleyDB license if you attempt to use it with any LDAP server.