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

Re: problem with OpenLDAP 2.0.11 and Berkeley DB 3.2.9



Michael Dunlap wrote:

> Hi folks,
>
> I'm trying to compile OpenLDAP 2.0.11 for use with a Berkeley DB
> backend.  I have installed Berkeley 3.2.9 (in /usr/local) and ran the
> OpenLDAP configure with the --with-ldbm-api=berkeley option.  When I
> create my first entry using ldapadd however the database created is a
> gdbm database.  I have tried everything I could find on the net (setting
> compile options, etc) and nothing is working.  Does anyone have a
> suggestion on how to really force OpenLDAP to use Berkeley?
>
> Thanks,
> Michael
> --
> Michael Dunlap                   Systems Programmer / Administrator
> michael.dunlap@yale.edu          Workstation Support, ITS
> (203) 432-1256                   Yale University

Are you using the default configuration within db-3.2.9/build_unix?  This
will put the db stuff in /usr/local/BerkeleyDB.3.2/*, and you'll need to
set CPPFLAGS and LDFLAGS to allow the OpenLDAP configure to find it.

Randy