Full_Name: Jennifer Kim Version: 2.0.7 OS: RedHat 7.0 URL: ftp://ftp.openldap.org/incoming/ Submission from: (NULL) (209.217.115.251) Hi, I was just wondering if anyone else is having problems installing OpenLDAP-2.0.7 on RedHat 7.0. When I run ./configure i get the following error: -------------------------------------------------------- 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 -------------------------------------------------------- OpenLDAP-2.0.7 does install, and works fine on RedHat 6.2. Does anyone have any experience with this? Any thoughts or comments would be greatly appreciated. Thanks, Jennifer Kim
On Fri, 10 Nov 2000 jkim@taralnetworks.com wrote: > Full_Name: Jennifer Kim > Version: 2.0.7 > OS: RedHat 7.0 > URL: ftp://ftp.openldap.org/incoming/ > Submission from: (NULL) (209.217.115.251) > > > Hi, I was just wondering if anyone else is having problems > installing OpenLDAP-2.0.7 on RedHat 7.0. > > When I run ./configure i get the following error: > -------------------------------------------------------- > 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 > -------------------------------------------------------- > > OpenLDAP-2.0.7 does install, and works fine on RedHat 6.2. > Does anyone have any experience with this? > Any thoughts or comments would be greatly appreciated. > > Thanks, > Jennifer Kim I have the same problem. RedHat has openldap 2.0.7 in Rawhide though and that builds nicely. RedHat applies a number of patches (9) to OpenLDAP, probably one of these fix the configure problem. RedHat adds autofs.schema, kerberosobject.schema, rfc822-MailMember.schema and also MigrationTools from padl.com Perhaps someone should look at the RedHat openldap modifications and perhaps add some of these to OpenLDAP? The configure after all the modifications succeed: 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... yes checking for sched_yield... yes checking for pthread_yield... yes checking for pthread_kill... yes checking for pthread_rwlock_destroy... yes checking for pthread_detach with <pthread.h>... yes checking for pthread_setconcurrency... yes checking for pthread_getconcurrency... yes checking for thr_setconcurrency... no checking for thr_getconcurrency... no checking for pthread_kill_other_threads_np... yes checking for LinuxThreads implementation... yes checking for LinuxThreads consistency... yes checking if pthread_create() works... yes checking if select yields when using pthreads... yes checking for thread specific errno... yes checking for thread specific h_errno... yes -psi
moved from Incoming to Build
moved from Build to Incoming
changed notes changed state Open to Closed
I note for the record that configure on RedHat 7.0 properly refuses to use the provided pthread library as the library is broken in regards to detached threads.
On Sat, 13 Jan 2001 Kurt@OpenLDAP.org wrote: > I note for the record that configure on RedHat 7.0 properly > refuses to use the provided pthread library as the library > is broken in regards to detached threads. Configure and compile of OpenLDAP 2.0.7 works fine on RedHat 7.0 if all updates are installed. Using the up2date tool is the easy way to installing all the updates. -psi
pthreads are broken on redhat 7