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

Re: OpenLDAP on Ubuntu

Jeremy Silva wrote:


I've tried, but to no avail, to get openldap to compile on a clean Ubuntu system.
I'm trying to compile it based on instructions for an OpenXchange installation: http://gpl.netixia.com/openxchange/...arge-howto.html <http://gpl.netixia.com/openxchange/openxchange-sarge-howto.html>

Basically, you need it with "--enable-aci".

I get the slapd source, and do the "buildpackage" with fake root, resolve all the dependencies needed (libdb4.2-dev libwrap0-dev libiodbc2-dev libncurses5-dev autoconf2.13 libgnutls11-dev #libgcrypt11-dev libltdl3-dev (>= 1.4.3) libslp-dev ), but then always end up with the following error chain:

/usr/lib/libsasl2.a(db_berkeley.o)(.text+0x5a): In function `berkeleydb_open':
: undefined reference to `db_create_4002'
/usr/lib/libsasl2.a(db_berkeley.o)(.text+0x85): In function `berkeleydb_open':
: undefined reference to `db_strerror_4002'

First check that libsasl2 is installed or not. If yes then, Hmmmmmmmm.
I think it's error of ldconfig. Have You check that /etc/ld.so.conf
contain path for /usr/lib
If not then add it now and run ldconfig on terminal.
I think it will solve you problem.

I've done some exhastive searches on google, but haven't turned up with anything that really solves my problem (or least that I can tell will ).



With Cheers, Hardik Dalwadi.