title: Boost and ssl client server building issue on Linux
body: <p>I have installed boost as a third library when I install pcl (Point Cloud Library).</p>
  
  <p>Now I am trying to run client and server programs <a href="http://www.boost.org/doc/libs/1_57_0/doc/html/boost_asio/example/cpp03/ssl/client.cpp" rel="noreferrer">http://www.boost.org/doc/libs/1_57_0/doc/html/boost_asio/example/cpp03/ssl/client.cpp</a></p>
  
  <p>When trying to link the required libraries:</p>
  
  <pre><code>g++ -I /usr/include/boost/  server.cpp -o server -lboost_system -lssl -lpthread
  </code></pre>
  
  <p>following error appears:</p>
  
  <blockquote>
    <p>/usr/bin/ld: /tmp/ccRbD849.o: undefined reference to symbol
    'ERR_reason_error_string@@OPENSSL_1.0.0'
    //lib/x86_64-linux-gnu/libcrypto.so.1.0.0: error adding symbols: DSO
    missing from command line collect2: error: ld returned 1 exit status</p>
  </blockquote>
  
  <p>When I searched the <strong><em>usr</em></strong> folder the Boost folder exists only inside <strong><em>include</em></strong> subfolder.</p>
  
  <p>What can I do to solve this problem.</p>