I have been trying to link a program which uses pthread.h. I am told that I must link the pthread library (libpthread.so)... but I don't find the library on my PC when I use the command:
locate libpthread.so
The command:
su apt-get install libpthread.so
I can't find if it is included in glibc or any other ubuntu library file. I've been told to "just link it with -pthread", but without the library there's nothing to link to
I've spent several days researching this. I will appreciate some guidance