title: libz.so.1: cannot open shared object file
body: <p>I am facing an issue on ubuntu 12.04 as :</p>
  
  <blockquote>
    <p>/usr/lib/ndk/android-ndk-r8c/toolchains/arm-linux-androideabi-4.6/prebuilt/linux-x86/bin/../lib/gcc/arm-linux-androideabi/4.6/../../../../arm-linux-androideabi/bin/as:
    error while loading shared libraries: libz.so.1: cannot open shared
    object file: No such file or directory</p>
  </blockquote>
  
  <p>I tried </p>
  
  <pre><code>sudo apt-get install lib32z1
  </code></pre>
  
  <p>But it says </p>
  
  <blockquote>
    <p>Reading package lists... Done Building dependency tree        Reading
    state information... Done lib32z1 is already the newest version. 0
    upgraded, 0 newly installed, 0 to remove and 610 not upgraded.</p>
  </blockquote>
  
  <p>Please suggest a solution.</p>