title: ld cannot find library that is installed
body: <p>I'm sitting on an OpenSuse 11.1 x64 Box and I have a module that uses sigc++. When linking like this:</p>
  
  <pre><code>g++ [a lot of o's, L's and l's] -lsigc-2.0
  </code></pre>
  
  <p>I get</p>
  
  <pre><code>/usr/lib64/gcc/x86_64-suse-linux/4.3/../../../../x86_64-suse-linux/bin/ld: cannot find -lsigc-2.0
  </code></pre>
  
  <p>However the library is there.<br>
  In the filesystem:</p>
  
  <pre><code>$ sudo find / -name "libsigc-2.0*"
  /usr/lib64/libsigc-2.0.so.0.0.0
  /usr/lib64/libsigc-2.0.so.0
  /usr/lib64/libsigc-2.0.so
  </code></pre>
  
  <p>In ld.so.conf I have:</p>
  
  <pre><code>/usr/lib64
  </code></pre>
  
  <p>And when invoking ldconfig:</p>
  
  <pre><code>$ ldconfig -v | grep sigc
  libsigc-2.0.so.0 -&gt; libsigc-2.0.so.0.0.0
  </code></pre>
  
  <p>Why?</p>