[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
Re: POSIX ??
On Mar 13, Mark Diggory slept on the keyboard and thought about POSIX ??
> I'm trying to compile openldap on RedHat7.0/kernel 2.2.17-14. I'm not sure what POSIX is and why I get this error?
>
> checking for NT Threads... checking for _beginthread... no
> 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
You seem to have the same problem that I have. It is something wrong with
the linuxthread implementation of RH. the configure script is satisfied if
you install GNU pth. But in my case it didn't help really because I cant
use ldap with thredas it just doesn't work. the first test the root-dse hangs.
when ldapsearch tries to connect to slapd I get an resurce temporarly
unavailable error from the slpad and thats all, nothing happsn from now on
I have to kill the test.
It really seems to be a problem of threads on RH because I didn't find any
information about it anywhere else someone told me she managed to get it
running with linuxthreads but this doesn't work as you found out too. I
don't want to recompile glibc to get working linuxthreads with posix
support.
It would be nice if one of the ldap at linux geniuses out side there could
give me a hint.
yours Gregor
--
Gregor Hlawacek Austria
http://www.unileoben.ac.at/~m9327555/ May the source be with you!
This posting is 100% M$ free. Guaranteed by Tux, the friendly penguin.
- References:
- POSIX ??
- From: Mark Diggory <mdiggory@latte.harvard.edu>