二进制文件不会运行

时间:2014-12-11 20:09:19

标签: linux

所以我尝试安装自定义Linux二进制文件,但当我尝试运行该应用时,它会显示No such file or directory。我试图找出问题所在。以下是我运行的一些测试:

./ app.cgi:

-bash: ./app.cgi: No such file or directory

gdb app.cgi:

GNU gdb (Ubuntu/Linaro 7.4-2012.04-0ubuntu2.1) 7.4-2012.04
Copyright (C) 2012 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying" and "show warranty" for details.
This GDB was configured as "x86_64-linux-gnu".
For bug reporting instructions, please see: <http://bugs.launchpad.net/gdb-linaro/>...
"app.cgi": not in executable format: File format not recognized

uname -a:

Linux srv1 3.2.61-grsec-modsign #1 SMP Tue Aug 12 09:58:26 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux

文件app.cgi:

app.cgi: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), for GNU/Linux 2.6.9, dynamically linked (uses shared libs), stripped

0 个答案:

没有答案