bin/sh: hello :not found -sh: ./hello: not found
2011-11-07 14:26
246 查看
Build Options->
Build BusyBox as a static binary (no shared libs)
Build with Large File Support (for accessing file>2GB)
如果选择 Build BusyBox as a static binary (no shared libs) 方式进行编译时,所需的库已经与程序静态地链接在一起,这些程序不需要额外的库就可以单独运行,但是自己编写的程序在文件系统上运行必须采用静态编译,否则会报诸如:bin/sh: hello :not found的错误。
静态编译如:
arm-linux-gcc –statichello.c –o hello
在开发板上直接./hello,
相关文章推荐
- TQ2440上-/bin/sh: hello: not found的解决办法
- 文件系统缺少库:-/bin/sh: hello: not found问题及解决方法
- 交叉编译环境以及开发板上-/bin/sh: ./hello: not found(使用arm-linux-gcc -static -o 来进行静态编译)
- bin/sh: hello :not found 的解决方法
- 交叉编译环境以及开发板上-/bin/sh: ./hello: not found
- 交叉编译环境以及ARM开发板上-/bin/sh: ./hello: not found
- 交叉编译环境以及开发板上-/bin/sh: ./hello: not found 转载自 http://blankboy.72pines.com
- 交叉编译环境以及开发板上-/bin/sh: ./hello: not found 转载自 http://blankboy.72pines.com
- -bin/sh ./hello not found错误
- 交叉编译环境以及ARM开发板上-/bin/sh: ./hello: not found
- ncurses 安装出错:“/bin/sh: 1: -I../C++: not found”
- /bin/sh: 1: mysql_config: not found
- 关于-/bin/sh: 命令:not found的解决办法
- -/bin/sh: [命令/可执行程序]:not found的解决办法
- 关于-/bin/sh: 命令:not found的解决办法
- 关于MAKE.EXE: /bin/sh: Command not found
- MODPOST 1 modules/bin/sh: scripts/mod/modpost: not found的解决
- 编译错误: /bin/sh: 1: pushd: not found的问题
- 我在linux主机用arm-linux-gcc编译后,复制到开发板根目录运行,出现/bin/sh: ./hello not found
- Ubuntu下安装PyQuery出现:ERROR: /bin/sh: 1: xslt-config: not found