(Answer) (Category) OpenLDAP Faq-O-Matic : (Category) Trash : (Answer) How do I force use of BerkeleyDB?
You can force configure to use a specific database manager using the --with-ldbm-api option.
To specify use of Sleepycat BerkeleyDB (release 2.x), use:
./configure --with-ldbm-api=berkeley
 
If you have installed BerkeleyDB such that its headers and libraries will not be found automatically by the C translator and linker, you will need to specify additional include and lib search directories. You may also find it useful to specify the thread and posix libs (I did). BTW, I used Berkeley 2.7.7.
Example:
  env CPPFLAGS="-I/usr/local/BerkeleyDB/include" \
      LDFLAGS="-L/usr/local/BerkeleyDB/lib" \
      LIBS="-lpthread -lposix4" ./configure --with-ldbm-api=berkeley

schrodinger_cat_2@yahoo.com
[Append to This Answer]
This document is: http://www.openldap.org/faq/index.cgi?file=557
[Search] [Appearance]
This is a Faq-O-Matic 2.721.test.
© Copyright 1998-2013, OpenLDAP Foundation, info@OpenLDAP.org