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

Problem compiling OpenLDAP on Redhat 7.0



Hello,

I am trying to compile OpenLDAP 2.0.7 on a Redhat 7.0 pc.
I get the following error while running the configure script:
-------------------------------------------------------
----lots of output----
|
|
|
checking for NT Threads... checking for _beginthread... no
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     <
------------the problem.........
[root@mayavi1 ~/installation/openldap-2.0.7]#
-------------------------------------------------------------------
could you please tell me what i need to do to solve this problem?

thank you

Jatin
begin:vcard 
n:Nansi;Jatin
tel;work:+91 22 262 0271 4108
x-mozilla-html:FALSE
org:Bennett, Coleman & Co. Ltd.;Technical Support Cell
version:2.1
email;internet:jatin.nansi@timesgroup.com
title:Mr.
adr;quoted-printable:;;Times of India Bldg., Dr. D. N. Road, =0D=0A;Mumbai;Maharashtra;400 001;India
x-mozilla-cpt:;0
fn:Jatin Nansi
end:vcard