if not gcc -static then shell says 'no such file'

view story

http://stackoverflow.com – I do not know why, but the (Android ADB) shell says no such file or directory when I compile with arm-linux-gnueabi-gcc without the -static option, and then attempt to execute the native executable. This is the no such file or directory you get when the shell knows the file exists at that path, but doesn't want to give the user permission to know the file exists. (e.g. you can check with chmod 4755 which returns no error message). If I compile with the -static option then the program executes normally. Why does this happen when compiling without the static option? (HowTos)