1999-01-12 22:15:35 +08:00
|
|
|
Berkeley DB version 2.x and OpenLDAP running threads
|
|
|
|
====================================================
|
|
|
|
|
1999-01-13 14:05:10 +08:00
|
|
|
Special care has to be taken when building Berkeley DB 2.x
|
|
|
|
for use with OpenLDAP as an slapd backend. If OpenLDAP is with
|
|
|
|
threads, so must Berkeley DB. If OpenLDAP is built without
|
|
|
|
threads, so must Berkeley DB.
|
1999-01-12 22:15:35 +08:00
|
|
|
|
1999-01-13 14:05:10 +08:00
|
|
|
The configuration tool of Sleepycat's Berkeley DB will automatically
|
|
|
|
set appropriate options on IRIX, OSF/1, and SUN Solaris platforms
|
|
|
|
(version 2.3.16), as well as FreeBSD (version 2.6.4). The options
|
|
|
|
must be manually defined on other plaforms, e.g. on LINUX.
|
1999-01-12 22:15:35 +08:00
|
|
|
|
|
|
|
On PC-LINUX (kernel version 2.0.35, linux kernel threads as imple-
|
|
|
|
mented by libpthreads.so.1.60.4) with gcc as the standard compiler
|
|
|
|
the environment variable CPPFLAGS must define -D_REENTRANT, while
|
|
|
|
building the Berkeley DB package.
|
1999-01-13 14:05:10 +08:00
|
|
|
|
1999-01-12 22:15:35 +08:00
|
|
|
DO NOT USE THE -ansi CFLAG, SINCE THEN THE DB PACKAGE'S CONFIGURE
|
|
|
|
CANNOT FIND THE X86/GCC SPINLOCKS, WHICH ARE NEEDED FOR THREAD-
|
|
|
|
SUPPORT WITH THE BERKELEY DB.
|
|
|
|
|
1999-01-13 14:05:10 +08:00
|
|
|
Please check carefully if your platform is not mentioned above.
|
1999-01-12 22:15:35 +08:00
|
|
|
|
1999-01-13 14:05:10 +08:00
|
|
|
The OpenLDAP configure tool will most probably find the correct
|
|
|
|
configuration itself. No special action has to be taken
|
|
|
|
while building the OpenLDAP package.
|
1999-01-12 22:15:35 +08:00
|
|
|
|
|
|
|
Jan, 9th, 1999, /KSp (ksp@openldap.org)
|
|
|
|
|