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

Re: slackware + openldap: could not locate usable POSIX Threads



Yuri, do you know where the configure script is looking for the libs?

may be you have to tell the script to look into that directory with any 
switch when you run the script.


regards!





Ighal J. Micha
IntermediaSP. 
ighal@intermediasp.com 

   Intermedia Comunicaciones S.A.
   Suipacha 128 - Bloque 2  Piso 2
   C1008AAD Buenos Aires - Argentina
   Tel.: (+54 11) 5032 9999 
   Fax: (+54 11) 5032 9992
   www.intermediasp.com



Yuri Nosyrev <nua@subscribe.slavel.ru> 
Sent by: owner-openldap-software@OpenLDAP.org
02/20/2006 07:50 AM
Please respond to
nua@slavel.ru


To
openldap-software@OpenLDAP.org
cc

Subject
slackware + openldap: could not locate usable POSIX Threads






Hi, openldap-software users

slackware 10.2 with kernel 2.6.15.4
openldap-2.3.19

'configure' fails with:
...
checking OpenSSL library version (CRL checking capability)... yes
checking for _beginthread... no
checking pthread.h usability... yes
checking pthread.h presence... yes
checking for pthread.h... yes
checking POSIX thread version... 10
checking for LinuxThreads pthread.h... yes
checking for GNU Pth pthread.h... no
checking sched.h usability... yes
checking sched.h presence... yes
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 locate usable POSIX Threads

$ su root -c "ldconfig -p | grep pth"
libpthread.so.0 (libc6, hwcap: 0x8000000000000000, OS ABI: Linux 2.6.4) 
=> /lib/tls/libpthread.so.0
libpthread.so.0 (libc6, OS ABI: Linux 2.4.1) => /lib/libpthread.so.0
libpth.so.20 (libc6) => /usr/local/lib/libpth.so.20
libpth.so (libc6) => /usr/local/lib/libpth.so

$ ls -la /lib | grep pth
-rwxr-xr-x 1 root root 80929 2005-09-11 08:05 libpthread-0.10.so*
lrwxrwxrwx 1 root root 18 2005-12-18 08:58 libpthread.so.0 -> 
libpthread-0.10.so*

$ ls -la /usr/lib | grep pth
-rw-r--r-- 1 root root 125238 2005-09-11 08:05 libpthread.a
-rw-r--r-- 1 root root 216 2005-09-11 06:51 libpthread.so
-rw-r--r-- 1 root root 1344 2005-09-11 08:05 libpthread_nonshared.a
-rw-r--r-- 1 root root 130048 2005-09-11 08:05 libpthread_p.a

Other Linux distos (like my workstation's FC4) have no problems with 
running openldap's 'configure'

Any ideas? Thanks in advance

-- 
Best Regards,
Yuri Nosyrev                                             mailto: nua at 
slavel dot ru