title: shared library loading
body: <p>My app shows that that dynamic linking is ok. </p>
  
  <pre><code>[root@centos udpfltr_fork]# ldd udpfltr
      linux-gate.so.1 =&gt;  (0x00dbe000)
      libnfnetlink.so.0 =&gt; /usr/lib/libnfnetlink.so.0 (0x005de000)
      libnetfilter_queue.so.1 =&gt; /usr/lib/libnetfilter_queue.so.1 (0x004a5000)
      libnglogc.so.0 =&gt; /usr/lib/libnglogc.so.0 (0x00a51000)
      libc.so.6 =&gt; /lib/libc.so.6 (0x001b9000)
      /lib/ld-linux.so.2 (0x0019a000)
  </code></pre>
  
  <p>but when its invoked it stops with following error:</p>
  
  <pre><code>./udpfltr: error while loading shared libraries: libnglogc.so.0: cannot open shared object file: No such file or directory
  </code></pre>
  
  <p>I'm clueless about what's actually happening. I've tried with setting $LD_LIBRARY_PATH, reloading ldcache by ldconfig etc.</p>