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

Building on SuSE 7.1 - problem with threads



Hello!

I am trying to build OpenLDAP 2.0.11 (openldap-stable-20010524) on SuSE 7.1
(glibc 2.2).

When running ./configure I get the "could not link with POSIX Threads" error
message. I read that others have seen this on RedHat. The question would be,
have SuSE people had this, too, and how have you worked around this?

Has anybody tried to install another pthread compatible library, e.g. GNU
Portable Threads?, and can report about his experience?

Thanks!

Marian


------- verbose dump -------

...
checking for _beginthread... no
checking for pthread.h... yes
checking POSIX thread version... final
checking for LinuxThreads pthread.h... yes
checking for GNU Pth pthread.h... no
checking for sched.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 link with POSIX Threads