]> git.sur5r.net Git - openldap/blob - doc/install/hints/Solaris
Update docs in preparation for release.
[openldap] / doc / install / hints / Solaris
1 Sun Solaris Hints
2
3 ** This file covers Solaris 2 and later releases.  **
4 ** Solaris 1.X is covered in the SunOS hints file. **
5
6
7 Solaris 2.6, pthread_create() in -lc
8
9 The Standard C library (-lc) contains pthread functions which
10 are not compatible with <pthread.h> and are not useable.  The
11 autoconf system does not detect this incompatibility nor
12 attempts to resolve it.  Consequently, slapd/slurpd will not
13 work correctly using out-of-the-box settings.  Slapd will
14 report an error such as:
15         listener pthread_create failed
16
17 To resolve this problem, the installer must specify the
18 proper Pthreads libraries:
19         LIBS="-lpthread -lposix4"
20         ./configure
21
22 OR use Solaris (LWP) Threads
23         ./configure --with-threads=lwp
24
25 OR disable threads: 
26         ./configure --without-threads
27
28
29 NDBM on Solaris
30
31 Solaris NDBM and OpenLDAP appears to be incompatible.  Use
32 GDBM or Berkeley DB2.