title: GNU Linker doesn't find a local shared library
body: <p>I am on linux and my linker is not able to find my local libraries.</p>
  
  <p>When I run </p>
  
  <pre><code>ld -L&lt;path to my lib dir&gt; OpenImageIo
  </code></pre>
  
  <p>I get</p>
  
  <pre><code>ld: cannot find OpenImageIO: No such file or directory
  </code></pre>
  
  <p>But libOpenImageIo is here :</p>
  
  <pre><code>[k.masson@hauser24 lib64]$ ll
  total 7856
  lrwxrwxrwx 1 k.masson k.masson      21 May  4 17:53 libOpenImageIO.so -&gt; libOpenImageIO.so.1.5
  lrwxrwxrwx 1 k.masson k.masson      24 May  4 17:53 libOpenImageIO.so.1.5 -&gt; libOpenImageIO.so.1.5.24
  -rwxr-xr-x 1 k.masson k.masson 7542440 May  2 16:41 libOpenImageIO.so.1.5.24
  lrwxrwxrwx 1 k.masson k.masson      26 May  4 17:53 libOpenImageIO_Util.so -&gt; libOpenImageIO_Util.so.1.5
  lrwxrwxrwx 1 k.masson k.masson      29 May  4 17:53 libOpenImageIO_Util.so.1.5 -&gt; libOpenImageIO_Util.so.1.5.24
  -rwxr-xr-x 1 k.masson k.masson  499288 May  2 16:41 libOpenImageIO_Util.so.1.5.24
  drwxrwxr-x 3 k.masson k.masson      27 May  4 17:18 python2.7
  </code></pre>
  
  <p>And the file seems to be correct</p>
  
  <pre><code> [k.masson@hauser24 lib64]$ file libOpenImageIO.so.1.5.24 
       libOpenImageIO.so.1.5.24: ELF 64-bit LSB shared object, x86-64,
       version 1 (GNU/Linux), dynamically linked,
       BuildID[sha1]=4ba0f0a40dc1287cf1a74b2530d3d0837765868b, stripped
  </code></pre>
  
  <p>I don't know why my linker doesn't find my library, I tried with other custom library and the problem is the same
  Do you have any idea why ? </p>