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.

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: libncurses.so.5: wrong ELF class: ELFCLASS64

How do I get ADB to work?

share|improve this question
1  
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
add comment

1 Answer 1

up vote 3 down vote accepted

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

share|improve this answer
add comment

Your Answer

 
discard

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.