Skip to content
Skip to content
IDEID

Where new idea begins

  • Home
  • Blog
  • Contact Us
← Make Your Widows 7 Look Like Windows 8 or Windows 8 Phone
Ubuntu Phone OS Unveiled by Canonical →
-->

Resolve shared library problem with Eclipse on Ubuntu (Android developers)

Posted on January 8, 2013 by dvs007
While starting android development on Ubuntu using Eclipse, you may get some errors like

/home/catia/android-sdks/platform-tools/aapt: error while loading shared libraries: 
libz.so.1: cannot open shared object file: No such file or directory

or  while trying to start the simulator,

/home/catia/android-sdks/tools/mksdcard: error while loading shared libraries: libstdc++.so.6: cannot open shared object file: No such file or directory 
[2012-01-01 19:00:18 - SDK Manager] Failed to create the SD card. 
[2012-01-01 19:00:18 - SDK Manager] Failed to create sdcard in the AVD folder.

or any other like these..This is because, Android SDK is compiled for a 32-bit GNU/Linux system, and your  system is a 64-bit system. To solve this error, install the 32-bit versions of all the most commonly used libraries, by installing the ia32-libs package 

Go to the terminal and type the following command.

sudo apt-get install ia32-libs

This will solve the issue.

This entry was posted in 64 bit, android, avd manager, development, eclipse, error while loading shared libraries, indigo, problem, shared library, simulator, ubuntu. Bookmark the <a href="http://ideid.in/resolve-shared-library-problem-with-eclipse-on-ubuntu-android-developers/" title="Permalink to Resolve shared library problem with Eclipse on Ubuntu (Android developers)" rel="bookmark">permalink</a>.
← Make Your Widows 7 Look Like Windows 8 or Windows 8 Phone
Ubuntu Phone OS Unveiled by Canonical →

3 thoughts

  1. September 5, 2013 at 12:52 am

    The following packages have unmet dependencies:
    ia32-libs : Depends: ia32-libs-multiarch

    Reply
  2. February 21, 2014 at 6:48 am

    Does not work on Ubuntu version 12.04 and up.. any other ways?

    Reply
  3. August 22, 2014 at 6:41 pm

    The ia32-libs package has been removed in Ubuntu 12.04+. You can now install these packages with:

    sudo apt-get install libc-i386 lib32z1 lib32stdc++6

    More details: http://www.dev-smart.com/archives/759

    Reply

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

© 2022 | Blog info WordPress Theme | By Bharat Kambariya