I simply want to run an executable from the command line, ./arm-mingw32ce-g++, but then I get the error message,
bash: ./arm-mingw32ce-g++: No such file or directory
I’m running Ubuntu Linux 10.10. ls -l lists
-rwxr-xr-x 1 root root 433308 2010-10-16 21:32 arm-mingw32ce-g++
Using sudo (sudo ./arm-mingw32ce-g++) gives
sudo: unable to execute ./arm-mingw32ce-g++: No such file or directory
I have no idea why the OS can’t even see the file when it’s there. Any thoughts?
This error can mean that
./arm-mingw32ce-g++doesn’t exist (but it does), or that it exists and is a dynamically linked executable recognized by the kernel but whose dynamic loader is not available. You can see what dynamic loader is required by runningldd /arm-mingw32ce-g++; anything markednot foundis the dynamic loader or a library that you need to install.If you’re trying to run a 32-bit binary on an amd64 installation:
ia32-libs.ia32-libs-multiarch.ia32-libs-multiarch, or select a reasonable set of:i386packages in addition to the:amd64packages.