title: Cannot access local shared library from /usr/local/lib
body: <p>I'm venturing into the world of C++ and Linux, and am having problems linking against a shared library.</p>
  
  <p>I have a library, <code>libicuuc.so.44.1</code>, installed in <code>/usr/local/lib</code>. There is also a link in the same directory, <code>libicuuc.so.44</code> pointing to that library.</p>
  
  <p>My <code>/etc/ld.so.conf</code> reads:</p>
  
  <pre><code>include /etc/ld.so.conf.d/*.conf
  </code></pre>
  
  <p>I have a file, <code>/etc/ld.so.conf.d/libc.conf</code>, that contains:</p>
  
  <pre><code># libc default configuration
  /usr/local/lib
  </code></pre>
  
  <p>However, when I compile my program (that includes <code>LIBS += -licuuc</code>), I get the following error at runtime:</p>
  
  <blockquote>
    <p>error while loading shared libraries:
    libicuuc.so.44: cannot open shared
    object file: No such file or directory</p>
  </blockquote>
  
  <p>I am using Qt Creator on Ubuntu 10.04.</p>
  
  <p>Any help is greatly appreciated!</p>