[Date Prev][Date Next] [Chronological] [Thread] [Top]

configure script fails



Hello everybody,

I´ve been unsuccessfully trying to compile OpenLDAP 2.0.18 on SCO OpenServer
5.0.0 with GNU Posix Threads ver. 1.2.0. Actually, I can´t even pass the
´configure´ script. It aborts as follows:

[All previous lines omitted]
checking for _beginthread... no
checking for pthread.h... yes
checking POSIX thread version... final
checking for LinuxThreads pthread.h... no
checking for GNU Pth pthread.h... yes
checking for pthread_create in default libraries... no
checking for pthread link with -kthread... no
checking for pthread link with -pthread... no
checking for pthread link with -pthreads... no
checking for pthread link with -mthreads... no
checking for pthread link with -thread... no
checking for pthread link with -lpthread -lmach -lexc -lc_r... no
checking for pthread link with -lpthread -lmach -lexc... no
checking for pthread link with -lpthread -Wl,-woff,85... no
checking for pthread link with -lpthread... no
checking for pthread link with -lc_r... no
checking for pthread link with -threads... no
checking for pthread link with -lpthreads -lmach -lexc -lc_r... no
checking for pthread link with -lpthreads -lmach -lexc... no
checking for pthread link with -lpthreads -lexc... no
checking for pthread link with -lpthreads... no
configure: error: could not locate usable POSIX Threads

Why the problem with POSIX Threads ?
The GNU Posix Threads ver. 1.2.0 added:
In /usr/local/include:
pthread.h
pth.h

And in /usr/local/lib
libpth.a
libpth.la
libpth.so.12.0.0
libpthread.a
libpthread.la
libpthread.so.12.0.0

In an attempt to track the error I linked all these files to /usr/include
and /usr/lib but the same error still remains.
What may be wrong with my thread libraries ? Does anybody know a workaround
for this ?

Thank you.

Fernando Ronci
E-mail: fernando@waycom.com.ar