37 lines
1.1 KiB
Plaintext
Raw Normal View History

1998-11-25 23:47:14 +00:00
Sun Solaris Hints
** This file covers Solaris 2 and later releases. **
** Solaris 1.X is covered in the SunOS hints file. **
Latest Solaris hints are available at:
http://www.openldap.org/faq/index.cgi?file=10
1998-11-25 23:47:14 +00:00
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 18:32:36 +00: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 23:47:14 +00:00
To resolve this problem, the installer must specify the
proper Pthreads libraries:
LIBS="-lpthread -lposix4"; export LIBS
1998-12-17 18:32:36 +00:00
./configure
1998-11-25 23:47:14 +00:00
On some versions of Solaris, you may be able to use Solaris LWP
Threads:
1998-12-17 18:32:36 +00:00
./configure --with-threads=lwp
1998-12-01 00:57:42 +00:00
On some versions of Solaris, you may be able to build without
threads.
1998-12-17 18:32:36 +00:00
./configure --without-threads
1998-11-25 23:47:14 +00:00
NDBM on Solaris
Solaris NDBM and OpenLDAP appears to be incompatible. Use
1998-12-17 18:32:36 +00:00
Berkeley DB2 or GDBM.