]> git.sur5r.net Git - openldap/blob - build/db.2.x.README
connection_init now takes one more argument that indicates whether to
[openldap] / build / db.2.x.README
1 Berkeley DB version 2.x and OpenLDAP running threads
2 ====================================================
3
4 Special care has to be taken when building Berkeley DB 2.x
5 for use with OpenLDAP as an slapd backend.  If OpenLDAP is with
6 threads, so must Berkeley DB.   If OpenLDAP is built without
7 threads, so must Berkeley DB.
8
9 The configuration tool of Sleepycat's Berkeley DB will automatically
10 set appropriate options on IRIX, OSF/1, and SUN Solaris platforms
11 (version 2.3.16), as well as FreeBSD (version 2.7.5).  The options
12 must be manually defined on other plaforms, e.g. on LINUX.
13
14 On PC-LINUX (kernel version 2.0.35, linux kernel threads as imple-
15 mented by libpthreads.so.1.60.4) with gcc as the standard compiler
16 the environment variable CPPFLAGS must define -D_REENTRANT, while
17 building the Berkeley DB package.
18
19 DO NOT USE THE -ansi CFLAG, SINCE THEN THE DB PACKAGE'S CONFIGURE
20 CANNOT FIND THE X86/GCC SPINLOCKS, WHICH ARE NEEDED FOR THREAD-
21 SUPPORT WITH THE BERKELEY DB.
22
23 Please check carefully if your platform is not mentioned above.
24
25 The OpenLDAP configure tool will most probably find the correct
26 configuration itself.   No special action has to be taken
27 while building the OpenLDAP package.
28
29 Jan, 9th, 1999, /KSp (ksp@openldap.org)
30