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

Prafull Chauhan picture Prafull Chauhan · Jun 10, 2013 · Viewed 41.7k times · Source

I just installed eclipse, the android sdk and jdk on a fresh installation for 64 bit fedora 14 , but by the time i create a new project i am getting the following error in the console:

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

i am using a 64bit machine and i need to install some 32bit drivers, so i am trying to install:

sudo apt-get install ia32-libs Reading Package Lists... Done Building Dependency Tree... Done E: Couldn't find package ia32-libs

Anyone help me how to resolve 64bit fedora 14 machine libz.so.1 problems

Answer

jjames picture jjames · Feb 2, 2014

Running Kubuntu 13.10 (x64) and I used lib32z1, which fixed it for me.

sudo apt-get install lib32z1