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

»Ø¸´: Problem compiling OpenLDAP on Redhat 7.0



hi:
    may be your system didn't install pthread thread software package ?
except this , there have some error in RedHat 7.0's gcc, so i suggest you
use the 6.2 to do your work .

                                   lucky :P) by China, X.D.Chen
-----Original Message-----
·¢¼þÈË: Jatin Nansi <jatin.nansi@timesgroup.com>
ÊÕ¼þÈË: openldap-software@OpenLDAP.org <openldap-software@OpenLDAP.org>
ÈÕÆÚ: 2001Äê4ÔÂ10ÈÕ 18:25
Ö÷Ìâ: 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
>