title: error while loading shared libraries
body: <p>I have a project organized as </p>
  
  <pre><code>\bin\cmain
  \lib\libxmlrpc_client++.a
  \lib\libxmlrpc_client++.so.4
  \lib\libxmlrpc_client++.so.4.16
  </code></pre>
  
  <p>My c program <code>cmain</code> need to dynamically link clib.so.4. While I compile the code, I use <code>-L.../lib</code> to indicate directory <code>lib</code> and use <code>-lxmlrpc_client++</code>. However, my code get error while loading shared libraries: </p>
  
  <pre><code>libxmlrpc_client++.so.4: cannot open shared object file: No such file or directory
  </code></pre>
  
  <p>Any ideas to fix this?</p>
  
  <p>PS: Problem solved, a good reference to the problem: <a href="http://gcc.gnu.org/ml/gcc-help/2005-12/msg00017.html" rel="noreferrer">http://gcc.gnu.org/ml/gcc-help/2005-12/msg00017.html</a></p>