You are not logged in.
Pages: 1
Topic closed
I recently installed the Android SDK, and was setting up Eclipse to use the SDK.
The process returns an error stating that the executable adb cannot run since:
./adb: error while loading shared libraries: libncurses.so.5: cannot open shared object file: No such file or directory
Now I checked the /usr/lib folder and the libncurses.so.5 file exists there.
So I am completely lost on what the issue is, and would like some help to resolve the same.
EDIT: Using a x86-64 system, like falconidy pointed out, one needs the lib32-ncurses library for the android SDK.
Last edited by darnir (2012-01-24 01:04:08)
Offline
Maybe Android expects it to be in another place?
Offline
Doesn't it need the lib in the android /system/lib folder?
And I suspect it would need the android version of the file - which is most likely different from your arch system's lib.
Edit: in other words I'm guessing you need the curses library for android in your android file system.
Last edited by Trilby (2012-01-21 12:37:37)
"UNIX is simple and coherent..." - Dennis Ritchie, "GNU's Not UNIX" - Richard Stallman
Offline
That was it for me, ty falconidy ;D
Offline
Worked for me too. Thanks falconidy!
Offline
I apologize for the necro bump, but this exact same problem has cropped up again.
Since the update of ncurses to 6.x, the android NDK is again broken. The SDK/NDK now works on 64bit, but its looking for libncurses.so.5.
Although its not the nices fix, running this made my SDK/NDK start working again:
sudo ln -s /usr/lib/libncursesw.so.6.0 /usr/lib/libncurses.so.5
Hope this helps someone.
Offline
Orbital, your solution is a recipe for disaster. The proper solution is clearly covered in the android page on the wiki.
Closed.
"UNIX is simple and coherent..." - Dennis Ritchie, "GNU's Not UNIX" - Richard Stallman
Offline
Pages: 1
Topic closed