![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
Hi, I want to setup a LDAP-Server (OpenLDAP). Therefor I need BerkeleyDB 4.2 or higher. On my Suse 9.0 there's only V4.1.25, so I installed V4.4.20 (with configure, make, make install). Now, when I run configure for OpenLDAP, the error message says "Version incompatible", because it's still V.4.1.25. So I thought, "make install" didn't register the headers and libraries correctly. I've already edited the /usr/include/db.h with a reference to the respective file in the BerkeleyDB installation, now there's a "Version conflict" between headers (4.4.20) and libraries (4.1.25). Adding the lib-directory to the ld.so.conf and executing ldconfig didn't help. What can I do? |
#3
| |||
| |||
|
|
Alex D <zap.foren (AT) gmx (DOT) de> writes: Hi, I want to setup a LDAP-Server (OpenLDAP). Therefor I need BerkeleyDB 4.2 or higher. On my Suse 9.0 there's only V4.1.25, so I installed V4.4.20 (with configure, make, make install). Now, when I run configure for OpenLDAP, the error message says "Version incompatible", because it's still V.4.1.25. So I thought, "make install" didn't register the headers and libraries correctly. I've already edited the /usr/include/db.h with a reference to the respective file in the BerkeleyDB installation, now there's a "Version conflict" between headers (4.4.20) and libraries (4.1.25). Adding the lib-directory to the ld.so.conf and executing ldconfig didn't help. What can I do? I'll note that the recommended version of BDB to use with OpenLDAP is 4.2.52. This is for a variety of reasons: a) BDB 4.3 has never seemed to stabalize enough to be useable with OpenLDAP. b) BDB 4.4 is fairly untested with OpenLDAP, and changes may have been made that do not make them compatible. There is a BDB 4.4 specific bug fixed in the OpenLDAP 2.3.19 release, and there may be more to come. BDB 4.4 is also markedly slower on WRITE operations than any previous BDB release. Symas Corporation was asked by Sleepycat to test the Beta releases of BDB 4.4, which we did, and reported this issue back to them. Keith Bostic confirmed this issue and was able to reproduce it. However, no action to fix this has ever been taken as far as I can tell. |
|
Bottom line: Use anything other than BDB 4.2.52+patches with OpenLDAP at your own risk. |
![]() |
| Thread Tools | |
| Display Modes | |
| |