“No such file or directory” but it exists

前端 未结 13 2033
南笙
南笙 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:10

    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 running ldd /arm-mingw32ce-g++; anything marked not found is 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:

    • Up to Ubuntu 11.04, install the package ia32-libs.
    • On Ubuntu 11.10, install ia32-libs-multiarch.
    • Starting with 12.04, install ia32-libs-multiarch, or select a reasonable set of :i386 packages in addition to the :amd64 packages.

提交回复
热议问题