]> git.sur5r.net Git - openldap/blob - doc/install/hints/Solaris
Moved -lnet,socket check for BeOS to the rest of the socket checks. Also added a...
[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 Latest Solaris hints are available at:
7   http://www.openldap.org/faq/index.cgi?file=10
8
9 Solaris 2.6, pthread_create() in -lc
10
11 The Standard C library (-lc) contains pthread functions which
12 are not compatible with <pthread.h> and are not useable.  The
13 autoconf system will detect this incompatibility but does not
14 attempts to resolve it.  configure will exit using
15 out-of-the-box settings with the error:
16   checking if pthread_create() works... no
17   configure: error: pthread.h and pthread_create are not compatible
18
19 To resolve this problem, the installer must specify the
20 proper Pthreads libraries:
21   LIBS="-lpthread -lposix4"; export LIBS
22   ./configure
23
24 On some versions of Solaris, you may be able to use Solaris LWP
25 Threads:
26   ./configure --with-threads=lwp
27
28 On some versions of Solaris, you may be able to build without
29 threads.
30   ./configure --without-threads
31
32
33 NDBM on Solaris
34
35 Solaris NDBM and OpenLDAP appears to be incompatible.  Use
36 Berkeley DB2 or GDBM.