OpenLDAP Faq-O-Matic : Trash : 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] |
|