The problem of
cannot execute binary file encountered under linux system is generally caused by the following situations:
chmod +x can be used to increase the execution authority
it is recommended to copy the program binary package and recompile the program. Because during the actual operation, I found that I packaged the entire operating system environment of the American VPS and downloaded it to the local server. After decompressing the program, there would be problems as shown in the question. I was puzzled, and the system was centos5. 2. In the end, it was found that the two compilation environments were different:
The hardware compilation environment of the two is different, which causes this problem. Of course, some downloaded programs are non-binary packages that can be executed directly, but the problem occurs because the kernel cannot match the CPU,
amd64 or 32-bit version , Correspondingly download clearly. I hope this article is helpful to the friends who see it.