|
本帖最后由 hjg16 于 2017-10-6 11:32 编辑
不管编译的还是安装的一定要用装载器才能执行,要不都是not found。
- 直接运行:[K3 /tmp/share/sda1]# ./test
- -sh: ./test: not found
复制代码- 加载器运行:[K3 /tmp/share/sda1]# /opt/lib/ld-linux.so.3 ./test
- test ok
复制代码- ./test: ELF 32-bit LSB executable, ARM, EABI5 version 1 (SYSV), dynamically linked, interpreter /lib/ld-linux.so.3, for GNU/Linux 2.6.32, not stripped
复制代码 修改elf后显示Segmentation fault,不过用装载器依然可以运行- [K3 /tmp/share/sda1/home]#./test
- Segmentation fault
复制代码 interpreter:
- [Requesting program interpreter: /opt/lib/ld-linux.so.3]
复制代码- [K3 /tmp/share/sda1]# ll /opt/lib/ld-linux.so.3
- lrwxrwxrwx 1 root root 10 Oct 2 13:47 /opt/lib/ld-linux.so.3 -> ld-2.23.so
复制代码
|
|