title: boost testing fpic linking error
body: <p>I have been staring and googling this but I cannot see what I have done.</p>
  
  <p>I have a working project on a 32 bit machine.  I have just pulled the repository to  a 64 bit machine (which was the original development machine for the project) and I am now getting the following linking errors when trying to build the testing binary</p>
  
  <pre><code>/usr/bin/ld: error: /usr/lib/libboost_test_exec_monitor-mt.a(unit_test_log.o): requires dynamic R_X86_64_PC32 reloc against 'std::basic_string&lt;char, std::char_traits&lt;char&gt;, std::allocator&lt;char&gt; &gt;::_Rep::_S_create(unsigned long, unsigned long, std::allocator&lt;char&gt; const&amp;)' which may overflow at runtime; recompile with -fPIC
  /usr/bin/ld: error: /usr/lib/libboost_test_exec_monitor-mt.a(unit_test_log.o): requires unsupported dynamic reloc 11; recompile with -fPIC
  </code></pre>
  
  <p>I really can't see what I could have changed.  The boost libraries are pulled straight from the ubuntu repositories.  Anyone with any clues.</p>