undefined reference to __pthread_detach' (Linux libc5, Python 1.52)

Oleg Bartunov megera at mira.sai.msu.su
Tue Dec 7 16:21:34 EST 1999


Hello,

I tried to built Python 1.52 with thread support (pth v.1-2.1)
on my Linux 2.2.13 libc5 system but get  error message
at linking stage (long lines are wrapped):

../libpython1.5.a(thread.o): In function `PyThread_start_new_thread':
/u/megera/app/arc/Python-1.5.2/Python/thread_pthread.h:161: undefined 
      reference to `Pthread_create'
/u/megera/app/arc/Python-1.5.2/Python/thread_pthread.h:185: undefined 
      reference to `__pthread_detach'

But 

0:22[om]:~/app/arc/Python-1.5.2>nm /usr/local/lib/libpthread.so | grep 
     __pthread_detach
00005720 T __pthread_detach

so, what's the problem ? I didn't subscribed to this group
(well, until I get Python compiled and Zope working :-) so please
reply to oleg at sai.msu.su

--  Oleg
_____________________________________________________________
Oleg Bartunov, sci.researcher, hostmaster of AstroNet,
Sternberg Astronomical Institute, Moscow University (Russia)
Internet: oleg at sai.msu.su, http://www.sai.msu.su/~megera/
phone: +007(095)939-16-83, +007(095)939-23-83



More information about the Python-list mailing list