error while loading shared libraries: libz.so.1: cannot open shared object file: No such file or dir
2016-12-26 16:30
701 查看
ubuntu 16.04 系统下使用 gradlew 编译Android项目
出现 /home/next/Android/sdk_android/build-tools/23.0.2/aapt: error while loading shared libraries: libz.so.1: cannot open shared object file: No such file or directory 错误
导致编译失败
在网上百度了很久
最后使用
解决问题
开始安装 lib32ncurses5 ,结果并没有神码卵用,后来使用 lib32z1 达到效果
安装 ia32-libs 会提示 需要什么
如下
next@next-fs:~/walden/work/easyHome/branch/v141/sb141_wy$ sudo apt-get install ia32-libs
正在读取软件包列表... 完成
正在分析软件包的依赖关系树
正在读取状态信息... 完成
没有可用的软件包 ia32-libs,但是它被其它的软件包引用了。
这可能意味着这个缺失的软件包可能已被废弃,
或者只能在其他发布源中找到
然而下列软件包会取代它:
lib32ncurses5 lib32z1
E: 软件包 ia32-libs 没有可安装候选
出现 /home/next/Android/sdk_android/build-tools/23.0.2/aapt: error while loading shared libraries: libz.so.1: cannot open shared object file: No such file or directory 错误
导致编译失败
在网上百度了很久
最后使用
sudo apt-get install lib32z1
解决问题
开始安装 lib32ncurses5 ,结果并没有神码卵用,后来使用 lib32z1 达到效果
安装 ia32-libs 会提示 需要什么
如下
next@next-fs:~/walden/work/easyHome/branch/v141/sb141_wy$ sudo apt-get install ia32-libs
正在读取软件包列表... 完成
正在分析软件包的依赖关系树
正在读取状态信息... 完成
没有可用的软件包 ia32-libs,但是它被其它的软件包引用了。
这可能意味着这个缺失的软件包可能已被废弃,
或者只能在其他发布源中找到
然而下列软件包会取代它:
lib32ncurses5 lib32z1
E: 软件包 ia32-libs 没有可安装候选
相关文章推荐
- Ubuntu12.04安装64位系统出现编译错误error while loading shared libraries: libz.so.1: cannot open shared object file: No such file or dir
- error while loading shared libraries: libz.so.1: cannot open shared object file: No such file or dir
- error while loading shared libraries: libz.so.1: cannot open shared object file: No such file or dir
- error while loading shared libraries: libz.so.1: cannot open shared object file: No such file or dir
- 编译Uboot时提示error while loading shared libraries: libz.so.1: cannot open shared object file: No such file or directory
- 解决:CentOS下的 error while loading shared libraries: libmysqlclient.so.16: cannot open shared object file: No such file or dir
- error while loading shared libraries: libz.so.1: cannot open shared object file: No such file or di
- android-sdks/build-tools/17.0.0/aapt: error while loading shared libraries: libz.so.1: cannot open shared object file: No such file or directory
- as: error while loading shared libraries: libz.so.1: cannot open shared object file: No such file or
- ./bin/logServer: error while loading shared libraries: libmysqlclient.so.16: cannot open shared object file: No such file or dir
- 关于 error while loading shared libraries: libXXX.so.1.2.3: cannot open shared object file: No such file or directory
- ./ProjectC: error while loading shared libraries: libProjectC.so: cannot open shared object file: No such file or directory
- error while loading shared libraries: libstdc++-libc6.2-2.so.3: cannot open shared object file: No such file or directory
- Ubuntu共享库问题[gtest]_error while loading shared libraries: libgtest.so.0: cannot open shared object file: No such file or director
- memstat: error while loading shared libraries: libmemcached.so.3: cannot open shared object file: No such file or directory
- 运行错误:error while loading shared libraries: xxx.so.0:cannot open shared object file: No such file or
- 动态链接库找不到 : error while loading shared libraries: libgsl.so.0: cannot open shared object file: No such file or directory
- error while loading shared libraries: libXXX.so.x: cannot open shared object file: No such file or d
- error while loading shared libraries: libpcap.so.2: cannot open shared object file: No such file or
- error while loading shared libraries: libXXX.so.x: cannot open shared object file: No such file or d