Find the answer to your Linux question:
Results 1 to 4 of 4
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 ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Jan 2006
    Posts
    13

    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. "db.h.....no"

    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
    Just Joined!
    Join Date
    Jan 2006
    Posts
    13
    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
    Just Joined!
    Join Date
    Feb 2006
    Posts
    1

    OpenLDAP and BerkeleyDB

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

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

    ./configure

  4. #4
    Just Joined!
    Join Date
    Sep 2007
    Posts
    1

    Talking correct procedure

    Thanks


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


    Later:

    ./configure
    make depend
    make
    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
  •