'No such file or directory' error in bash, but the file exists?
|
On Ubuntu, I get a 'No such file or directory' error when I try to execute a command. I have checked with 'ls -la' , the file 'adb' is there and it has 'x' flag So why I am getting a 'No such file or directory'?
|
||||
|
feedback
|
|
It's an executable file that misses required libraries. Use |
|||
|
feedback
|
|
You probably are on 64-bit and need the 32-bit libs. On ubuntu that involves
|
|||
|
feedback
|
is also need for me. |
||||
|
feedback
|
|
For adb make sure you have the SDK unpacked and have run the SDK Manager to fully populate the SDK. Additionally make sure you have the following installed: A.) JDK 6 or better B.) lib32stdc++6 C.) lib32ncurses5 hoffmanc was the closest to getting it right, I don't really understand why the answer from Daniel Beck is marked as correct when it's not even close and has nothing to do with the problem. Incidentally, if you try to run a truly non-existant command (i.e.:
you'll get: fakecommand: command not found, whereas in your situation the output you are seeing is actually coming from adb even though it's not very clear that is the case. |

浙公网安备 33010602011771号
file adb– jdigital Oct 9 '11 at 5:43