]> git.sur5r.net Git - openldap/blob - doc/install/hints/Solaris
Update based upon latest errors.
[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 will detect this incompatibility but does not
12 attempts to resolve it.  configure will exit using
13 out-of-the-box settings with the error:
14   checking if pthread_create() works... no
15   configure: error: pthread.h and pthread_create are not compatible
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 Berkeley DB2 or GDBM.