title: Having trouble including boost binary_oarchive.hpp
body: <p>I have boost installed and I am trying to use boost oarchive in my C++ program</p>
  
  <p>I have binary_oarchive included at the top</p>
  
  <pre><code>#include &lt;boost/archive/binary_oarchive.hpp&gt;
  </code></pre>
  
  <p>But I guess a multitude of undefined reference errors such as these.</p>
  
  <pre><code>/tmp/ccqt0MAu.o: In function `boost::archive::detail::common_oarchive&lt;boost::archive::binary_oarchive&gt;::~common_oarchive()':
  /usr/include/boost/archive/detail/common_oarchive.hpp:35: undefined reference to `boost::archive::detail::basic_oarchive::~basic_oarchive()'
  /tmp/ccqt0MAu.o: In function `boost::archive::binary_oarchive_impl&lt;boost::archive::binary_oarchive, char, std::char_traits&lt;char&gt; &gt;::~binary_oarchive_impl()':
  /usr/include/boost/archive/binary_oarchive_impl.hpp:34: undefined reference to `boost::archive::basic_binary_oprimitive&lt;boost::archive::binary_oarchive, char, std::char_traits&lt;char&gt; &gt;::~basic_binary_oprimitive()'
  </code></pre>
  
  <p>I was wondering what we I could be missing.</p>