Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Here's my problem. I have just compiled a linux build of tests in my VirtualBox VM. When I run it, I get:

bash: ./tests: No such file or directory

I did some research, and found it could permissions, missing libraries or different architecture. So I checked those:

  • ls -al tests:

    -rwxr-xr-x 1 me me 9948598 2011-02-21 01:54 tests
  • file tests

    tests: ELF 64-bit LSB executable, x86-64, version 1 (SYSV), dynamically linked (uses shared libs), for GNU/Linux 2.6.15, not stripped
  • uname -a

    Linux DevBox 2.6.35-25-generic #44-Ubuntu SMP Fri Jan 21 17:40:44 UTC 2011 x86_64 GNU/Linux
  • ldd tests: =>  (0x00007fff7db90000) => /lib/ (0x00007f10ef14c000) => /usr/lib/ (0x00007f10eee46000) => /lib/ (0x00007f10eec2d000) => /lib/ (0x00007f10ee9aa000) => /lib/ (0x00007f10ee627000)
    /lib/ => /lib64/ (0x00007f10ef384000) => /lib/ (0x00007f10ee410000)

What's the problem here?

share|improve this question
up vote 3 down vote accepted

Take a look at this:

share|improve this answer
That seemed promising, but I think my ELF interpreter is OK: /lib/ => /lib64/ (0x00007f10ef384000) and readelf -l says: [Requesting program interpreter: /lib/] – nullspace Feb 21 '11 at 17:16
So for some reason I was missing a link: sudo ln -s /lib/ /lib/ made it work. Anybody know why that is? I'm accepting this cause it was the closest and most useful. – nullspace Feb 21 '11 at 19:37

Is the file name really "tests" or does it only appear to be like that?

Try renaming the file, does it work? Without pressing TAB?

Perhaps you put in the name a not showing CTRL character somehow doing a copy&paste or pressing some key combination?


stat tests

work if you write tests without pressing TAB?

share|improve this answer
This all worked fine. – nullspace Feb 21 '11 at 19:36

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.