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

configure issue with pthread



Hello,
I just now joined the list to see if anyone can assist me with the issue I
am having in configuring the openldap-2.0.7 source code.  I am currently
running Redhat 7.0.  I do not want to use the rpm openldap package.  When
I run './configure --enable-slurpd', this is the result:

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 have gotten the sourcecode for GNU Pth and tried to compile/install
it.  The compile fails.  Therefore I cannot get around whatever issue
Redhat seems to have in its configuration of LinuxThreads.  I do not want
to use any of the rpm packages due to the versions and due to the fact
that I never really trust what is done to the sourcecode in those
packages.  

Any assistance would be appreciated.

Doug Bible