linuxpthreadssphinx

Where can I find pthreads for Linux?


I do not have pthreads in my system.

Linux vps-sohoportal.hspheredns.com 2.6.18-294.26.1.el5.lve0.8.18xen #1 SMP Thu Feb 24 12:15:18 EET 2011 x86_64 x86_64 x86_64 GNU/Linux

When I try to configure sphinx have error:

configuring Sphinx


checking for CFLAGS needed for pthreads...
checking for LIBS needed for pthreads...
checking for pthreads... configure: error: no working pthreads library found

Solution

  • Find the pthread-stubs package of your distribution. Check in your package manager.

    If you can't find it, it should be shipped with your compiler.