1.  cannot open shared object file报错

OS: Kali linux 
Compile toolchian: arm-none-linux-gnueabi

# arm-none-linux-gnueabi-gcc hook.c 
arm-linux-gcc 交叉编译报错:
error while loading shared libraries: libz.so.1: cannot open shared object file: No such file or directory

这个问题就是你64位的操作系统没有32位的类库,而android的SDK是要32位支持的,如果没装就只能是报上面的错!

解决:
# sudo apt-get update
# sudo apt-get install lib32z1

这时候编译:arm-none-linux-gnueabi-gcc hook.c 通过

GitHub 加速计划 / li / linux-dash
10.39 K
1.2 K
下载
A beautiful web dashboard for Linux
最近提交(Master分支:23 天前 )
186a802e added ecosystem file for PM2 4 年前
5def40a3 Add host customization support for the NodeJS version 4 年前
Logo

旨在为数千万中国开发者提供一个无缝且高效的云端环境,以支持学习、使用和贡献开源项目。

更多推荐