Results 1 to 3 of 3
  1. #1
    Join Date
    May 2002

    LDAP - Not my new best friend.


    I'm trying to get openLDAP to build on the latest version of Mandriva Linux. My problem is during configuration it gives me the the following error:

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

    I went to http://www.sleepycat.com and downloaded the latest and greatest version of Berkeley DB and installed it without a hitch, however it still gives me the same error. I was wondering if someone has recently gone through something like this and knows how to get the configuration script to recognize the installation in '/usr/local/BerkeleyDB.4.3'.

    Eventually I want to get this running with a SQL backend, but when I try to drop the Berkeley DB and install SQL as my DB, it says it can't find my SQL libraries. So, if anyone has any insight, I'd appreciate any input.


  2. #2
    Join Date
    May 2002
    I found a resolution. Using the information found at http://www.openldap.org/faq/index.cg...eley&file=1095 I made a couple changes to accomodate my environment.
    --- My script ---

    env CPPFLAGS="-I/usr/local/BerkeleyDB.4.3/include -I/usr/local/ssl/include/openssl" \
    LDFLAGS="-L/usr/local/lib -L/usr/local/BerkeleyDB.4.3/lib -L/usr/local/ssl/lib -R/usr/local/lib -R/usr/local/BerkeleyDB.4.3/lib -R/usr/local/ssl/lib" \
    LD_LIBRARY_PATH="/usr/local/BerkeleyDB.4.3/lib" \


    Oh, and technically I'm using Mandriva Linux, not Mandrake.


  3. #3
    T̙͓̞̣̯ͦͭͅͅȂͧͭͧ̏̈͏̖̖Z̿ ͆̎̄
    Join Date
    Dec 2004
    Hi rasem,

    Glad we could help ...if only all problems could be solved this fast and easy...!


Posting Permissions

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

We have made updates to our Privacy Policy to reflect the implementation of the General Data Protection Regulation.