“No such file or directory” but it exists

前端 未结 13 2000
南笙
南笙 2020-11-29 21:24

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 s         


        
13条回答
  •  天命终不由人
    2020-11-29 22:03

    I got the same error for a simple bash script that wouldn't have 32/64-bit issues. This is possibly because the script you are trying to run has an error in it. This ubuntu forum post indicates that with normal script files you can add 'sh' in front and you might get some debug output from it. e.g.

    $ sudo sh arm-mingw32ce-g++
    

    and see if you get any output.

    In my case the actual problem was that the file that I was trying to execute was in Windows format rather than linux.

提交回复
热议问题