title: Compiled C++ program raises "cannot open shared object file" on another system though the file is present
body: <p>I wrote a tiny program that requires some libraries including libboost_filesystem, libboost_program_options and libcurl.</p>
  
  <p>I compiled it on my home machine and took the binary to my computer at work to test it there. But there it gives the following error message when I try to start the program:</p>
  
  <pre><code>error while loading shared libraries:
  libboost_filesystem.so.1.42.0: cannot
  open shared object file
  </code></pre>
  
  <p>But when I search for this file I see that it exists in:
  /usr/lib/libboost_filesystem.so.1.42.0</p>
  
  <p>Did I something wrong during the compilation / linking of my program? If yes what do I have to do to make it work on other machines?</p>