Find the answer to your Linux question:
Results 1 to 4 of 4
I am going round and round with this problem, perhaps it is a simple fix but it has me two days behind in a project. I am using openldap-2.2.14 & ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Jul 2004
    Posts
    3

    OpenLDAP BerkeleyDB version incompatible


    I am going round and round with this problem, perhaps it is a simple fix but it has me two days behind in a project.

    I am using openldap-2.2.14 & BerkeleyDB.4.2

    When I run configure: (openldap)

    checking for db.h... yes
    checking for Berkeley DB link (default)... no
    checking for Berkeley DB link (-ldb42)... no
    checking for Berkeley DB link (-ldb-42)... no
    checking for Berkeley DB link (-ldb-4.2)... no
    checking for Berkeley DB link (-ldb-4-2)... no
    checking for Berkeley DB link (-ldb-4)... no
    checking for Berkeley DB link (-ldb4)... no
    checking for Berkeley DB link (-ldb)... yes
    checking for Berkeley DB thread support... yes
    checking Berkeley DB version for BDB backend... no
    configure: error: BDB: BerkeleyDB version incompatible

    Thanks for any help

  2. #2
    Just Joined!
    Join Date
    Jul 2004
    Posts
    3

    OpenLDAP BerkeleyDB version incompatible

    Fixed with

    env CPPFLAGS="-I /usr/local/BerkeleyDB/include" LDFLAGS="-L /usr/local/BerkeleyDB/lib" ./configure --with-wrappers


    New problem: during make

    /usr/bin/ld: cannot open /usr/local/BerkeleyDB/lib: File format not recognized
    collect2: ld returned 1 exit status

  3. #3
    Just Joined!
    Join Date
    Sep 2007
    Location
    Poland
    Posts
    4

    The same problem

    Hello,

    I have the same problem as you.
    Did you solve it?
    I'll be gratefull for your help.

    Regards from Poland

  4. #4
    Super Moderator devils casper's Avatar
    Join Date
    Jun 2006
    Location
    Chandigarh, India
    Posts
    24,729
    Hi zajka !

    Welcome to the LinuxForums. This thread is around 3 years old. Please start a New Thread and explain your problem in detail. Thread Locked.
    It is amazing what you can accomplish if you do not care who gets the credit.
    New Users: Read This First

Posting Permissions

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