title: dlopen returns with File Not Found although file exist
body: <p>I am using the following code -</p>
  
  <pre><code>pxSFunc-&gt;handle = dlopen(psFilePath, RTLD_LAZY);
  if (!pxSFunc-&gt;handle) {
       printf("%s Ignored loading the lib: %s\n", dlerror(), psFilePath);
  </code></pre>
  
  <p>Where psFilePath points on a valid path (readable and accessable).</p>
  
  <p>After running this section, I receive the following error:</p>
  
  <pre><code>File not found Ignored loading the lib: /usr/lib/libnetwork.so
  </code></pre>
  
  <p>I wander about what debug tools should I use to debug this issue? </p>
  
  <p>I added all relevant paths to LD_LIBRARY_PATH, and running 'ldd' on this lib shows no issues.
  Maybe someone have any ideas on what can this issue be related to?</p>
  
  <p>Thank you all in advance!</p>