Issue 885 - OpenLDAP-2.0.7 on RedHat 7.0
Summary: OpenLDAP-2.0.7 on RedHat 7.0
Status: VERIFIED FIXED
Alias: None
Product: OpenLDAP
Classification: Unclassified
Component: slapd (show other issues)
Version: unspecified
Hardware: All All
: --- normal
Target Milestone: ---
Assignee: OpenLDAP project
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2000-11-10 21:31 UTC by jkim@taralnetworks.com
Modified: 2014-08-01 21:06 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this issue.
Description jkim@taralnetworks.com 2000-11-10 21:31:13 UTC
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

Comment 1 persteinar.iversen@adm.hio.no 2000-11-13 09:33:23 UTC
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

Comment 2 Kurt Zeilenga 2000-12-27 11:06:41 UTC
moved from Incoming to Build
Comment 3 Kurt Zeilenga 2000-12-31 13:30:27 UTC
moved from Build to Incoming
Comment 4 Kurt Zeilenga 2001-01-13 15:49:19 UTC
changed notes
changed state Open to Closed
Comment 5 Kurt Zeilenga 2001-01-13 23:46:26 UTC
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.

Comment 6 persteinar.iversen@adm.hio.no 2001-01-14 13:11:03 UTC
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

Comment 7 OpenLDAP project 2014-08-01 21:06:12 UTC
pthreads are broken on redhat 7