error while loading shared libraries: libz.so.1

Posted

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了error while loading shared libraries: libz.so.1相关的知识,希望对你有一定的参考价值。

报错,执行缺少libz.so.1
./aapt
./aapt: error while loading shared libraries: libz.so.1: cannot open shared object file: No such file or directory

原因:缺少库

解决方法:
yum install glibc.i686 glibc-devel.i686 libstdc++.i686 zlib-devel.i686 ncurses-devel.i686 libX11-devel.i686 libXrender.i686 libXrandr.i686 -y

以上是关于error while loading shared libraries: libz.so.1的主要内容,如果未能解决你的问题,请参考以下文章

error while loading shared libraries错误解决

error while loading shared libraries错误解决

error while loading shared libraries: libmcrypt.so.4

error while loading shared libraries: libaio.so.1

linux下报错:error while loading shared libraries

error while loading shared libraries的解決方法