title: Dealing with library dependencies on linux
body: <p>I am using libcurl in my project and it depends on openssl and bunch of other .so in runtime.<br>
  This dependency is kind of pain in the ass, since different distributives/versions may contain different openssl versions.</p>
  
  <p>For example I am experiencing problems running on Ubuntu 11.10 if I compiled my app on Ubuntu 9.10. </p>
  
  <p>I am seeing two options how to solve this but none of them aren't good enough for my case:</p>
  
  <ol>
  <li><p>package my app and let package manager solve this sort of stuff</p></li>
  <li><p>link all deps statically</p></li>
  </ol>
  
  <p>My app is really tiny and package/maintain it would be overkill. Plus, one of the requirements is that it should be download-and-run'able. So, (1) is not an opton for me.</p>
  
  <p>Static link (2) would be not-bad solution but it seems that there is no static binary distributions of libopenssl, libcrypto and other transitive dependencies that come with libcurl.</p>
  
  <p>Theoretically I could try to build all that zoo of libs behind libcurl manually, but it seems that this will make maintenance much more complicated.</p>
  
  <p>So, here is the question - am I missing something? Is there a less painful way to do what I want in linux world (Ubuntu to be specific) with less pain? Any suggestions are welcomed.</p>