title: Linux: executable cannot find shared library
body: <p>I have compiled <code>casablanca</code> and have put <code>-l:/~/path/to/lib/libcasablanca.so</code> in my <code>CMakeList.txt</code>. I have build my application and I have got no errors. But when I run the executable it says: </p>
  
  <pre><code>./myproj: error while loading shared libraries: libcasablanca.so: cannot open shared object file: No such file or directory
  </code></pre>
  
  <p>I have done it on another computer and it seems to work fine.</p>
  
  <p>Does anyone know what is the problem? How to fix this?</p>
  
  <p>I have no administrator access to this machine.</p>