title: pthread library inclusion at (linking?) step
body: <p>I'm trying to compile a program provided to me.  I noticed in the Makefile it runs the command </p>
  
  <pre><code>g++ -o test [...] -lpthread
  </code></pre>
  
  <p>I noticed the pthread library file is in /lib/libpthread.so.0 , but when I try to make the target, it gives me this error:</p>
  
  <pre><code>/usr/bin/ld: cannot find -lpthread
  collect2: ld returned 1 exit status
  </code></pre>
  
  <p>how do I fix this?</p>