title: Boost Serialization Linking error
body: <p>I'm trying to compile some 6-month old code, but I'm running into a linker error with boost libraries (particularly <code>boost:serialization</code>):</p>
  
  <pre><code>/usr/include/boost/archive/detail/oserializer.hpp:88: undefined reference to `boost::archive::text_oarchive_impl&lt;boost::archive::text_oarchive&gt;::save(std::string const&amp;)'
  collect2: error: ld returned 1 exit status
  </code></pre>
  
  <p>I'm sure this code was compilable a while ago (I am linking with boost libraries with <code>-lboost_serialization</code>), and the only thing that changed was the boost version (currently 1.60) and recently I had some issues with GCC's dual ABI (<a href="https://gcc.gnu.org/onlinedocs/libstdc++/manual/using_dual_abi.html" rel="nofollow">https://gcc.gnu.org/onlinedocs/libstdc++/manual/using_dual_abi.html</a>) - could that be the problem?</p>