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

Re: OpenLDAP-2.0.7 on RedHat 7.0 (ITS#885)



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