How to install pthreads on Debian?

Amazingly, I can’t find anything. I am trying to use the phpThread class . For this I need to install pthreads.

How to install pthreadson Debian 8?

+4
source share
1 answer

Pthreads is part of the libc6 package:

dpkg -L libc6 | grep pthread
/lib/arm-linux-gnueabihf/libpthread-2.19.so
/lib/arm-linux-gnueabihf/libpthread.so.0

You may need libc6-dev if you are compiling material:

dpkg -L libc6-dev | grep pthread
/usr/include/arm-linux-gnueabihf/bits/pthreadtypes.h
/usr/include/pthread.h
/usr/lib/arm-linux-gnueabihf/libpthread_nonshared.a
/usr/lib/arm-linux-gnueabihf/libpthread.so
/usr/lib/arm-linux-gnueabihf/libpthread.a
0
source

All Articles