title: ldd says "not found" even though library is in my LD_LIBRARY_PATH
body: <pre><code>$ ldd libpmsfdcwrt.so
          linux-gate.so.1 =&gt;  (0x004ae000)
          libdl.so.2 =&gt; /lib/libdl.so.2 (0x00417000)
          [ ... elided ... ]
          libz.so.1 =&gt; not found
          [ ... elided ... ]
          libpmssl.so.0.9.7 (0xf5be8000)
          libfreebl3.so =&gt; /usr/lib/libfreebl3.so (0xf5b88000)
  </code></pre>
  
  <p>Note "libz.so.1 => not found".</p>
  
  <p>But libz.so.1 exists:</p>
  
  <pre><code>$ ls -l /lib64/libz.so.1
  lrwxrwxrwx 1 root root 13 Apr 25  2013 /lib64/libz.so.1 -&gt; libz.so.1.2.3
  $ ls -l /lib64/libz.so.1.2.3
  -rwxr-xr-x 1 root root 91096 Oct  3  2012 /lib64/libz.so.1.2.3
  </code></pre>
  
  <p>And, that directory is listed in LD_LIBRARY_PATH:</p>
  
  <pre><code>$ echo $LD_LIBRARY_PATH
  :/oracle/product/11.2.0/client_1/lib:/opt/CA/CAlib:/usr/local/CAlib:/opt/CA/WorkloadAutomationAE/autosys/lib:/opt/auto/ixpagent/lib:/lib64:/opt/CA/SharedComponents/lib:/usr/lib:/opt/CA/SharedComponents/Csam/SockAdapter/lib
  </code></pre>
  
  <p>(I logged out and logged back in to be sure it was sticking.)</p>