error while loading shared libraries: libz.so.1: cannot open shared object file: No such file or dir

在linux上安装Android开发环境时,R文件不能生成。提示libz.so.1找不到。。。。执行aapt果然报错了。折腾了半天。

在网上找到一篇文章,查找该库的进行安装,终于解决了,在此记录下。。

1 到sdk目录 tools下执行 ./aapt ,根据报错信息,查看缺少的库

2 执行以下命令,查看谁提供该库 如

yum whatprovides ld-linux.so.1

把所有的都安装后

3 再次执行 aapt,同时在eclipse里也能正常生存R文件了。

另外,直接使用yum install eclipse 安装的eclipse 不能安装adt。。。浪费了好长时间。。可以直接去谷歌官网去下载一个集成ad的 eclpset版本

时间: 2024-10-23 01:02:13

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

在Ubuntu14.04 64位系统中已经安装了libc6:i386的库,编译Uboot时提示error while loading shared libraries: libz.so.1: cannot open shared object file: No such file or directory. 出错原因是:缺少lib32z1库 解决方法:sudo apt-get install lib32z1

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-dev

error while loading shared libraries: libssl.so.6: cannot open shared object file

[[email protected] ~]# /usr/local/nagios/libexec/check_tcp -H 127.0.0.1 80 /usr/local/nagios/libexec/check_tcp: error while loading shared libraries: libssl.so.6: cannot open shared object file: No such file or directory 关联库文件:发现libssl.so.6 => not fo

解决软件启动报error while loading shared libraries: libgd.so.2: cannot open shared object错误

解决软件启动报error while loading shared libraries: libgd.so.2: cannot open shared object错误 今天安装启动nginx的时候报这个错误:error while loading shared libraries: libgd.so.2: cannot open shared object,网上查了相关资料,解决了,在此记录下,也让后面遇到这个问题的朋友能快速解决. 先说解决办法,帮助着急解决问题的朋友,这个是因为缺失gd库,

启动MongoDB时,提示:error while loading shared libraries: libstdc++.so.6: cannot open shared object file: No such file or directory

启动MongoDB时,提示: error while loading shared libraries: libstdc++.so.6: cannot open shared object file: No such file or directory [[email protected] ~]# /usr/local/mongodb/bin/mongod --dbpath=/usr/local/mongodb/data --logpath /usr/local/mongodb/logs/mon

error while loading shared libraries: libiksemel.so.3: cannot open shared...

zabbix服务启动出问题 报错:error while loading shared libraries: libiksemel.so.3: cannot open shared ... 解决办法: 执行 ldconfig

gm: error while loading shared libraries: libpng15.so.15: cannot open shared object file: No such file or directory

org.im4java.core.CommandException: org.im4java.core.CommandException: /usr/local/bin/gm: error while loading shared libraries: libpng15.so.15: cannot open shared object file: No such file or directory 原因:GraphicsMagick-LATEST17.tar.gz 安装 错误,无法访问libpn

error while loading shared libraries: libmysqlclient.so.18: cannot open shared object file: No such

启动zabbix_server出现如题错误,差点没晕死过去,从前一直没出现,这种错误其实工作上已经遇到过无数次了,但是每次的没有好好记录总结一些,导致每次遇到都需要傻乎乎的跑到网上->百度,方可解决.今天特地针对这个小问题写一篇错误记录博客,日后遇到方可快速查看. 执行命令 cd /usr/local/mysql/lib/ ll libmysqlclient.so 发现有  libmysqlclient.so -> libmysqlclient.so.18 于是 ln -s /usr/loca

error while loading shared libraries: libpcre.so.1: cannot open shared object file

执行启动nginx:/usr/local/nginx/sbin/nginx 错误:/usr/local/nginx/sbin/nginx: error while loading shared libraries: libpcre.so.1: cannot open shared object file: No such file or directory 查找:[[email protected] lib]# find /-type f -name *libpcre.so.* 执行:[[ema