Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

error while loading shared libraries: libncurses.so.5:

I've installed Android Studio and tried to run my first project in it, and I've got following error:

Error Output was: /home/user/android-studio/sdk/platform-tools/adb: error while loading       shared libraries: libncurses.so.5: cannot open shared object file: No such file or directory 

I've already tried to run

sudo ldconfig 

but it doesnt help. I've recently installed libncurses (before using android studio).

What should I do?

like image 823
pawel Avatar asked Jun 09 '13 01:06

pawel


1 Answers

If libncurses is not installed then install it and try again.

for 32-bit binaries : sudo apt-get install libncurses5:i386

for 64-bit binaries : sudo apt-get install libncurses5

Also install the collection of libraries by using this command,

sudo apt-get install ia32-libs

like image 165
HibernatedGuy Avatar answered Oct 03 '22 05:10

HibernatedGuy