title: Having some issues with shared libraries
body: <p>I am compiling a program for source, and it is not finding some dynamic libraries that are compiled with it. Here is the output when I run the executable. (It compiles fine)</p>
  
  <pre><code>dyld: Library not loaded: libipeqtcanvas.so.7.0.14
    Referenced from: /Users/zrbecker/testipe/bin/./ipe
    Reason: image not found
  Trace/BPT trap
  </code></pre>
  
  <p>My question is, I know -L finds libraries while compiling, but how do I make sure the program can find the libraries when running.</p>
  
  <p>The libraries are located at the relative path ../lib from the executable which is in a bin directory.</p>