title: cannot load shared library that exists in /usr/local/lib (Fedora x64)
body: <p>When attempting to run a program I just compiled successfully, I get the following error:</p>
  
  <blockquote>
    <p>./src/sensors/laser_scan_producer: error while loading shared libraries: <strong><em>liblcm.so.1</em></strong>: cannot open shared object file: No such file or directory</p>
  </blockquote>
  
  <p><code>ls /usr/local/lib/liblcm*</code> yields </p>
  
  <pre><code>/usr/local/lib/liblcm.la  
  /usr/local/lib/liblcm.so  
  /usr/local/lib/liblcm.so.1  
  /usr/local/lib/liblcm.so.1.2.0
  </code></pre>
  
  <p>I have executed <code>sudo ldconfig</code> several times and added /usr/local/lib to LD_LIBRARY_PATH for the sake of redundancy.</p>
  
  <p>This exhausts the list of answers I've seen whilst grepping around stackOverflow.</p>
  
  <p>Anyone spot the problem?</p>