ubuntu *** can not execute binary file
来源:互联网 发布:辰森餐饮软件 编辑:程序博客网 时间:2024/05/16 14:57
最近是第二次遇到这个问题了,在ubuntu下,明明下载来 bin/ 里面的可执行文件,可是却执行不了。
上次是下载的 mips-linux-toolchain,想编译linux kernel for mips。 从官网下的可执行文件。
今儿这次是在用doxygen,也是从官网下载的可执行文件,然后执行不了可能觉得自己下错东西了,又用apt-get install来从软件源(我用的163的)安装一个 doxygen,结果还是不行。非常之郁闷。。。
看了文件的权限什么的,最后一位明明也是 x。
最后想起来一件事,老师有一次跟我说这文件有可能是 64bit的,然后你的OS是32bit的。 所以执行不了。
然后用命令 file filename 看了一下 。。。什么的。果然。。。。。64位的可执行文件。
以后有这问题也不用上网搜其他原因了,直接用命令看看是不是需要64位OS
另外, objdump -a filename 和 objdump -f filename 都可以看到可执行文件是64的还是32的
- ubuntu *** can not execute binary file
- cygwin, can not execute binary file
- 【ubuntu】bash: cannot execute binary file
- Ubuntu bash: ./java: cannot execute binary file
- cannot execute binary file
- cannot execute binary file
- cannot execute binary file
- android Ubuntu adb: cannot execute binary file: 可执行文件格式错误
- error: cannot execute binary file
- cannot execute binary file处理
- linux - cannot execute binary file
- JAVA cannot execute binary file
- ubuntu javah Can not find file for "xxxxx"
- ubuntu解决eclipse 之“launch failed. Binary file not found.”
- cygwin:as.exe: cannot execute binary file
- 请教 cannot execute binary file问题
- java: cannot execute binary file错误
- -bash: ./firstdrvtest: cannot execute binary file
- VC/MFC中常用宏的含义
- 关于Framework,Library,MVC的区别,或者说到底是什么!
- HttpSession过期时间设置
- 设计模式之组合模式
- Oracle 表空间与数据文件
- ubuntu *** can not execute binary file
- 经典SQL语句大全
- 高斯核函数
- 程序感想
- java对象与xml 之间相互转换
- MFC生成带控件的dll以及dll的调用
- Linux 命令行 (五)
- LeetCode : Triangle
- 受控wifi接入的网络编程