Tag Archives: Linux Execute File Error

[Solved] Linux Execute File Error: no such file or directory (bit mismatch)

Recently, an executable file was executed in the Ubuntu 16.04 system, and the prompt no such file or directory appeared, as shown below:

In fact, this file exists

After consulting the data, it is found that the reason may be that the number of system bits does not match the number of Lib libraries required by the executable file, as shown below:

The system is a 64 bit system and the executable file is 32 bits

To run 32-bit programs with on a 64 bit system, you need to install the 32-bit lib library. For Ubuntu users, you can install using the following command:

sudo apt-get install ia32-libs

If the installation is not successful, lib32z1 can be used instead. Then you can run the previous executable file normally.