Ask Your Question

Revision history [back]

I have been dealing with the same problem while trying to get the Android SDK up and running. After reading around I have figured out that you just need to install the 32-bit version of the library file you need in addition to the 64-bit version. For example this error message was generated by my version of Eclipse:

[2012-01-31 21:56:41 - adb] /home/two_byte/android-sdk-linux/platform-tools/adb: error while loading shared libraries: libstdc++.so.6: cannot open shared object file: No such file or directory
[2012-01-31 21:56:41 - adb] 'adb version' failed!
/home/two_byte/android-sdk-linux/platform-tools/adb: error while loading shared libraries: libstdc++.so.6: cannot open shared object file: No such file or directory
[2012-01-31 21:56:41 - adb] Failed to parse the output of 'adb version'

After I went into GPK (Gnome 3's package manager) and installed the 32-bit version of the libstdc++ file the error disappeared. Just figure out which library you need and install the 32-bit version and your issue should be resolved.