Find the answer to your Linux question:
Results 1 to 4 of 4
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1

    LDAP configure not recognizing Berkeley DB

    I am currently trying to install OpenLDAP 2.3.17. Everything appeared to be going OK until it attempt to find Berkeley DB and then it says that Berkeley db is not installed. ""

    Anyone have any idea what this means? I'm very much a newb so if I've left something out let me know.

  2. #2
    OK, perhaps I need to elaborate a little bit more on the tail of configure log, this is what it is telling me:

    checking db.h usability... no
    checking db.h presence... no
    checking for db.h... no
    configure: error: BDB/HDB: BerkeleyDB not available

    and the configure stops.

    I checked and made sure that db.h was install in /usr/local/BerkeleyDB.4.4/include/db.h

    Is there something that I need to change to make configure find this? Do I need to make a change in the system or perhaps in the arguments I pass to configure?

  3. #3

    OpenLDAP and BerkeleyDB

    I have same problem and fix with export var.
    Try this :

    export CPPFLAGS
    LDFLAGS="-L/usr/local/lib -L/usr/local/BerkeleyDB.4.3/lib -R/usr/local/BerkeleyDB.4.3/lib"
    export LDFLAGS
    export LD_LIBRARY_PATH


  4. $spacer_open
  5. #4

    Talking correct procedure


    Defore: configure: error: BDB/HDB: BerkeleyDB not available


    make depend
    make install

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts