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

threads library not found (ITS#1348)



Full_Name: Giulio Carabetta
Version: 2.0.11/2.0.15
OS: Red Hat 7.0
URL: ftp://ftp.openldap.org/incoming/
Submission from: (NULL) (194.185.92.2)


I'm trying to configure the openldap with slurpd.
I've tryed with both 2.0.11 / 2.0.15, but I got this error every time:

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

I've just update my Red Hat 7.0 with 
glibc-common-2.2-12
glibc-profile-2.2-12
glibc-2.2-12
glibc-devel-2.2-12
cpp-2.96-85

I've tryed manu configure options, but with the same error.

I read also this on a manual:
CC="gcc" CFLAGS="-O3 -march=i686 -mcpu=i686 -funroll-loops -fomit-frame-pointer
-D_REENTRANT -fPIC" ./configure --prefix=/usr --libexecdir=/usr/sbin
--sysconfdir=/etc --localstatedir=/var/run --mandir=/usr/share/man
--disable-debug --disable-ipv6 --enable-crypt --with-threads --enable-slurpd

but it's the same.

Thank you in advance.