title: No such file or directory: Cannot execute but is visible to ls, file and tab-completion
body: <p>I'm installing flexnet on an amazon lightsail instance. I've just extracted the contents to <code>/opt</code> and in trying to run any lm* command. With <code>ls</code> I can see I have ownership and permission to execute. I can run <code>file</code> on any of the contents of the folder and it will tell me what it is.</p>
  
  <p>But when I try to execute anything, bash will complain with No such file or directory. Example:</p>
  
  <pre class="lang-sh prettyprint-override"><code>jabozzo@ICUC_services:/opt/flexnet/bin$ ls -all
  total 4684
  drwxr-xr-x 2 jabozzo jabozzo    4096 Nov  8  2016 .
  drwxr-xr-x 6 jabozzo jabozzo    4096 Dec 19 15:46 ..
  lrwxrwxrwx 1 jabozzo jabozzo       6 Dec 14  2016 lmcksum -&gt; lmutil
  lrwxrwxrwx 1 jabozzo jabozzo       6 Dec 14  2016 lmdown -&gt; lmutil
  -rwxr-xr-x 1 jabozzo jabozzo 1551536 Nov  8  2016 lmgrd
  lrwxrwxrwx 1 jabozzo jabozzo       6 Dec 14  2016 lmhostid -&gt; lmutil
  lrwxrwxrwx 1 jabozzo jabozzo       6 Dec 14  2016 lmnewlog -&gt; lmutil
  lrwxrwxrwx 1 jabozzo jabozzo       6 Dec 14  2016 lmpath -&gt; lmutil
  lrwxrwxrwx 1 jabozzo jabozzo       6 Dec 14  2016 lmremove -&gt; lmutil
  lrwxrwxrwx 1 jabozzo jabozzo       6 Dec 14  2016 lmreread -&gt; lmutil
  lrwxrwxrwx 1 jabozzo jabozzo       6 Dec 14  2016 lmstat -&gt; lmutil
  lrwxrwxrwx 1 jabozzo jabozzo       6 Dec 14  2016 lmswitchr -&gt; lmutil
  -rwxr-xr-x 1 jabozzo jabozzo 1362736 Nov  8  2016 lmutil
  lrwxrwxrwx 1 jabozzo jabozzo       6 Dec 14  2016 lmver -&gt; lmutil
  -rwxr-xr-x 1 jabozzo jabozzo 1701200 Nov  8  2016 mgcld
  -rwxr-xr-x 1 jabozzo jabozzo   49088 Nov  8  2016 mgls_admin
  -rwxr-xr-x 1 jabozzo jabozzo    1593 Nov  8  2016 mgls_child_ver
  -rwxr-xr-x 1 jabozzo jabozzo  112736 Nov  8  2016 mgls_ok
  jabozzo@ICUC_services:/opt/flexnet/bin$ file lmutil 
  lmutil: ELF 64-bit LSB executable, x86-64, version 1 (SYSV), dynamically linked, interpreter /lib64/ld-lsb-x86-64.so.3, for GNU/Linux 2.6.9, stripped
  jabozzo@ICUC_services:/opt/flexnet/bin$ ./lmutil
  -bash: ./lmutil: No such file or directory
  jabozzo@ICUC_services:/opt/flexnet/bin$ /opt/flexnet/bin/lmutil 
  -bash: /opt/flexnet/bin/lmutil: No such file or directory
  </code></pre>
  
  <p>In the example, if I type <code>./lmu</code> and tab complete, it is completed as <code>./lmutils</code>. Using absolute path doesn't help either. I've also checked for the presence of needed shared libraries:</p>
  
  <pre class="lang-sh prettyprint-override"><code>jabozzo@ICUC_services:/opt/flexnet/bin$ ldd lmutil 
      linux-vdso.so.1 =&gt;  (0x00007ffe09bb1000)
      libpthread.so.0 =&gt; /lib/x86_64-linux-gnu/libpthread.so.0 (0x00007f7e75ab4000)
      libm.so.6 =&gt; /lib/x86_64-linux-gnu/libm.so.6 (0x00007f7e757ab000)
      libgcc_s.so.1 =&gt; /lib/x86_64-linux-gnu/libgcc_s.so.1 (0x00007f7e75595000)
      libc.so.6 =&gt; /lib/x86_64-linux-gnu/libc.so.6 (0x00007f7e751cb000)
      libdl.so.2 =&gt; /lib/x86_64-linux-gnu/libdl.so.2 (0x00007f7e74fc7000)
      /lib64/ld-lsb-x86-64.so.3 =&gt; /lib64/ld-linux-x86-64.so.2 (0x00007f7e75cd1000)
  </code></pre>