openldap/doc/install/hints/Solaris

33 lines
898 B
Text
Raw Normal View History

1998-11-25 18:47:14 -05:00
Sun Solaris Hints
** This file covers Solaris 2 and later releases. **
** Solaris 1.X is covered in the SunOS hints file. **
Solaris 2.6, pthread_create() in -lc
The Standard C library (-lc) contains pthread functions which
are not compatible with <pthread.h> and are not useable. The
1998-12-17 13:32:36 -05:00
autoconf system will detect this incompatibility but does not
attempts to resolve it. configure will exit using
out-of-the-box settings with the error:
checking if pthread_create() works... no
configure: error: pthread.h and pthread_create are not compatible
1998-11-25 18:47:14 -05:00
To resolve this problem, the installer must specify the
proper Pthreads libraries:
1998-12-17 13:32:36 -05:00
LIBS="-lpthread -lposix4"
./configure
1998-11-25 18:47:14 -05:00
1998-11-30 19:57:42 -05:00
OR use Solaris (LWP) Threads
1998-12-17 13:32:36 -05:00
./configure --with-threads=lwp
1998-11-30 19:57:42 -05:00
OR disable threads:
1998-12-17 13:32:36 -05:00
./configure --without-threads
1998-11-25 18:47:14 -05:00
NDBM on Solaris
Solaris NDBM and OpenLDAP appears to be incompatible. Use
1998-12-17 13:32:36 -05:00
Berkeley DB2 or GDBM.