[Date Prev][Date Next]
RE: How to link against libdb4
Sorry, forgot to give any OS and other details. This is (or will be, if I
ever get it work) OpenLDAP 2.1.9 on FreeBSD 4.4-STABLE
Senior Systems Administrator
ISPA winner "Best Business Customer Service" 2001
> -----Original Message-----
> From: Inglesant Philip
> Sent: 20 December 2002 17:33
> To: 'Openldap-Software (E-mail)'
> Subject: How to link against libdb4
> I know there must be a simple answer to this question, but I
> cannot find it.
> Every time I run slapd, it fails with:
> bdb_initialize: version mismatch
> expected: Sleepycat Software: Berkeley DB 4.0.14:
> (November 18, 2001)
> got: Sleepycat Software: Berkeley DB 3.3.11: (July 12, 2001)
> Now, I know the reason for this failure. I have built it with
> include files from Berkeley DB 4, and it is linked against
> libraries from Berkeley DB 3. So please don't waste time
> telling me this.
> The problem is that I can't find out how on earth to link it
> against Berkeley BD 4. I have even removed all libdb* files
> in /usr/local/lib, and rebuilt OpenLDAP from scratch. I
> thought this would force it to fail unable to find libdb...
> but it has found it from somewhere are still fails in the same way.
> Can anyone tell me how I am supposed to fix this?
> Thanks in advance.
> Philip Inglesant
> Senior Systems Administrator
> ISPA winner "Best Business Customer Service" 2001
Email Disclaimer can be viewed at: