Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

(Before marking it as a dupe , please go through my question as it is something different and none of the questions I came across answered this)

I have been trying to install Adt-bundle on my 64-Bit Ubuntu 12.04 LTS Operating System. I got the same error that many questions over the site answer :

 error while loading shared libraries: libstdc++.so.6: cannot open shared object 
 file: No such file or directory

And also the other error saying :

 Can't fetch right adb-version.

I fixed the error by running a set of commands in the following order

 sudo apt-get install libgl1-mesa-dri:i386
 sudo apt-get install ia32-libs-multiarch:i386
 sudo apt-get install ia32-libs-multiarch
 sudo apt-get install ia32-libs

And I was relieved! My error was gone and then I could start with my First Android Application. But when I restarted my computer , there was some problem in my graphics libraries. I guess that they were over written or something. Problem in some x11 (I have no knowledge of this , but could figure out that this file/library or something was missing or written by the above commands that I had run) And this happened twice. So I had to undo those commands and then agian install xstart and get my graphics display back.

So, Now , How should I proceed with my installation , as Again I have those errors back whith libstdc++.so.6 can't be shared and more.


share|improve this question

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.