Bash: No such file or directory?
<p>I try to use an executable script (wkhtmltopdf) on a Linux shared webserver (Debian, 64bit). I am pretty sure that I compiled everything correct, but whenever I want to execute the file I get as an response :</p>

<pre><code>&gt; ./wkhtmltopdf -H
-bash: ./wkhtmltopdf: No such file or directory
</code></pre>

<p>To be sure that the file is there, here the ls output :</p>

<pre><code>&gt; ls
wkhtmltoimage  wkhtmltopdf
</code></pre>

<p>Furthermore I tested the file command on it, which outputs the following :</p>

<pre><code>&gt; file wkhtmltopdf
wkhtmltopdf: ELF 64-bit LSB executable, x86-64, version 1 (GNU/Linux), dynamically linked (uses shared libs), for GNU/Linux 2.6.18, stripped
</code></pre>

<p>My question is now : </p>

<p><strong>Why does bash tells me that there is no 'file or directory', when there obviously is one?</strong> </p>

<p>My first guess would be that the shared server does not allow to execute binary files? But shouldn't it then be a problem of permissions, with a different bash output?</p>

<p>Edit :</p>

<pre><code>&gt; id 
uid=2725674(p8907906) gid=600(ftpusers) groups=600(ftpusers)

&gt; ls -l wkhtmltopdf
-rwxrwxrwx 1 p8907906 ftpusers 39745960 Jan 20 09:33 wkhtmltopdf

&gt; ls -ld
drwx---r-x 2 p8907906 ftpusers 44 Jan 28 21:02 .
</code></pre>