[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'

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 ).

Likely your distribution configures Berkeley DB to have some fancy postfix to function names, and you're not linking the right version of Berkeley DB library after that. You should ask your vendor, this is not an OpenLDAP problem.


SysNet - via Dossi,8 27100 Pavia Tel: +390382573859 Fax: +390382476497