Android-sdks / build-tools / 17.0.0 / aapt: error loading shared libraries: libz.so.1: cannot open shared objects file: no such file or directory

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

android-sdks / build-tools / 17.0.0 / aapt: error loading shared libraries: libz.so.1: cannot open shared objects file: no such file or directory

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

sudo apt-get install ia32-libs Reading mailing lists ... Done Building Dependency tree ... Done E: Could not find ia32-libs package

Help me solve how to solve 64-bit problems with Linux libz.so.1 system.

+49
install 32-bit drivers
Jun 10 '13 at 9:03
source share
11 answers

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

sudo apt-get install lib32z1

+107
Feb 01 '14 at 23:52
source share
Lucas, it works! simple and wonderful offer

Try the following:

 sudo yum install zlib.i686 libstdc++.i686 

This will solve the problem of a 64-bit error of a 64-bit machine ~!

(Tested: CentOS 6.2 64-bit and 64-bit Fedora 22)

+26
Dec 03 '13 at 4:43
source share

try this problem for me i have 64 bit ubuntu 14.05

 sudo apt-get install libc6-i386 lib32stdc++6 lib32gcc1 lib32ncurses5 
+12
Jul 28 '14 at 7:51
source share

I fixed this problem using the solution distributed in this blog post:

http://ideid.blogspot.co.uk/2013/01/resolve-shared-library-problem-with.html

Here is a solution for convenience:

"The Android SDK is compiled for the 32-bit GNU / Linux system, and your system is 64-bit. To solve this problem, install the 32-bit versions of all the most commonly used libraries by installing the ia32-libs package

Go to the terminal and enter the following command.

sudo apt-get install ia32-libs

This will solve the problem.

Hope this helps

+6
Sep 28 '13 at 16:39
source share

I encountered a similar problem on my centos machine.

check out this: https://ask.fedoraproject.org/en/question/9556/how-do-i-install-32bit-libraries-on-a-64-bit-fedora/

For me it worked: yum install libstdc ++. i386 zlib.i386

+2
Feb 19 '14 at 17:00
source share

yum install glibc.i686 glibc-devel.i686 libstdC ++. i686 zlib-devel.i686 ncurses-devel.i686 libX11-devel.i686 libXrender.i686 libXrandr.i686

for RHEL, it worked. My car was a 64 bit machine,

+1
Aug 05 '15 at 4:48
source share

I had the same problem in Archlinux.

You need to enable the multilib repository in /etc/pacman.conf :

 [multilib] Include = /etc/pacman.d/mirrorlist 

Update pacman and install the 32-bit version of zlib:

 pacman -Suy pacman -S lib32-zlib 
+1
Apr 11 '17 at 14:17
source share

Try the following: sudo yum install zlib.i686

0
Jul 11 '13 at 8:57
source share

for openSuse you just need to install libz1-32bit

 zypper install libz1-32bit 
0
Oct 07 '14 at 12:50
source share

Add: i386 suffix to the package name for the package manager to correctly identify it:

 sudo apt-get install zlib1g:i386 
0
Sep 24 '17 at 8:54 on
source share

aapt is a 32-bit application, so your 64-bit machine loads these libraries

 sudo dpkg --add-architecture i386 sudo apt-get -qqy update sudo apt-get -qqy install libncurses5:i386 libstdc++6:i386 zlib1g:i386 
0
Oct 21 '17 at 18:46 on
source share



All Articles