Ubuntu12.04安装64位系统出现编译错误error while loading shared libraries: libz.so.1: cannot open shared object file: No such file or dir

时间:2023-03-08 16:28:58
Ubuntu12.04安装64位系统出现编译错误error while loading shared libraries: libz.so.1: cannot open shared object file: No such file or dir

问题:

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 directory
解决办法来源于: http://askubuntu.com/questions/147400/problems-with-eclipse-and-android-sdk
输入apt-get install lib32ncurses5 ia32-libs

adb: error while loading shared libraries: libstdc++.so.6: wrong ELF class: ELFCLASS64
解决方法:sudo apt-get install lib32ncurses5 lib32stdc++6