Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I'm on Ubuntu 11.10 64bit and adb is excutable but when I use the commands in the terminal I get this:

adb: error while loading shared libraries: wrong ELF class: ELFCLASS64

How do I get ADB to work?

share|improve this question
Try this: sudo apt-get install ia32-libs – user8290 Feb 2 '12 at 1:32
Thanks man it worked u should make it an answer so i can accept it that way it makes it look answered – EvoandroidEvo Feb 2 '12 at 2:15
great! answer added – user8290 Feb 2 '12 at 3:10
up vote 3 down vote accepted

Install the 32-bit libraries: sudo apt-get install ia32-libs

share|improve this answer

Your Answer


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

Not the answer you're looking for? Browse other questions tagged or ask your own question.