title: I installed libboost but can't link to it
body: <p>I have installed <code>libboost-dev</code> through <code>apt-get</code>, and it's placed in <code>/usr/lib</code>.</p>
  
  <pre><code>/usr/lib$ ls | grep boost
  libboost_filesystem.so.1.46.1
  libboost_iostreams.so.1.46.1
  libboost_serialization.so.1.46.1
  libboost_system.so.1.46.1
  libboost_thread.so.1.46.1
  libboost_wserialization.so.1.46.1
  </code></pre>
  
  <p>But when I tried to compile a source that uses <code>boost_thread</code> I still got a error.</p>
  
  <pre><code>$ g++ tcp_echo.cpp -o tcp_echo -L/usr/lib -llibboost_thread
  /usr/bin/ld: cannot find -lboost_thread
  collect2: ld returned 1 exit status
  $ g++ tcp_echo.cpp -o tcp_echo -L/usr/lib -lboost_thread
  /usr/bin/ld: cannot find -lboost_thread
  collect2: ld returned 1 exit status
  </code></pre>
  
  <p>What's the right way to install and link to <code>libboost</code>?</p>