title: Meaning of "cannot open shared object file"
body: <p>My executable compiles, but then fails to run saying he cannot load a shared library. But the named library is right there (and LD_LIBRARY_PATH is set to right here too); and both objects are 64b.</p>
  
  <pre><code>$ l
  -rwxrwxr-x  1 dario dario  13M May  2 17:46 pose-estimator* 
  -rw-rw-r--  1 dario dario  12K May  2 19:52 Makefile
  -rwxr-xr-x  1 dario dario 6.0M May  2 20:06 libmyelin.so.1*
  
  $ make                                                                      
  [100%] Built target pose-estimator     
  
  $ pwd
  /home/dario/nethra-pose-estimation/build
  
  $ echo $LD_LIBRARY_PATH
  /home/dario/nethra-pose-estimation/build
  
  $ file pose-estimator libmyelin.so.1                                   
  pose-estimator: ELF 64-bit LSB shared object, x86-64, version 1 (GNU/Linux), dynamically linked, interpreter /lib64/l, for GNU/Linux 3.2.0, BuildID[sha1]=598251a1370ca6547010a0c5d712738b4a698e57, with debug_info, not stripped               
  libmyelin.so.1: ELF 64-bit LSB shared object, x86-64, version 1 (SYSV), dynamically linked, BuildID[sha1]=c83470883245833a03e26dd8f1e4a23a5eb9c512, stripped                    
  
  $ ./pose-estimator                                                                                                                                    
  ./pose-estimator: error while loading shared libraries: libmyelin.so.1: cannot open shared object file: No such file or directory                 
  </code></pre>
  
  <p>What?</p>
  
  <p><strong>Why is the dynamic linker complaining</strong> with "error while loading shared libraries: libmyelin.so.1: cannot open shared object file: No such file or directory" ?</p>
  
  <p>What's the next debug step to resolve this issue?</p>