우분투 64bit, ADT-Bundle 실행시 libncurses.so.5 cannot open... 메시지 뜰때



결론부터 이야기하자면, Eclipse Android Plugin이 실행되는데 필요한 32bit 라이브러리가 없어서 뜨는 것이다. 32bit 라이브러리를 설치해주자!!

$ sudo apt-get install ia32-libs


ADT bundle 을 설치한 후에 Eclipse for Android를 실행하는데, 실행할 때마다

'adb-version' failed!!

라는 메시지가 지속적으로 팝업으로 노출되었다. 팝업을 닫고 나면 console 창에 아래의 로그가 주르르륵 찍히는 것을 목격할 수가 있다. 로그의 내용만으로는 딱히 어떤 증상인지 확인할 수가 없다. 그저 'error while loading shared libraries: libncurses.so.5: cannot open shared object file' 라는 문구를 통해서 libncurses.so.5 관련 문제겠구나 추측해볼 수 있다. 

그래서 인터넷 검색을 실시했고, 위에서 언급했던 참고사이트의 정보를 확인했다.

  • 검색 키워드 : linux adt-bundle libncurses.so.5 cannot open

[2012-12-30 15:47:57 - adb] /development/adt-bundle-linux/sdk/platform-tools/adb: error while loading shared libraries: libncurses.so.5: cannot open shared object file: No such file or directory [2012-12-30 15:47:57 - adb] 'adb version' failed! /development/adt-bundle-linux/sdk/platform-tools/adb: error while loading shared libraries: libncurses.so.5: cannot open shared object file: No such file or directory [2012-12-30 15:47:57 - adb] Failed to parse the output of 'adb version': Standard Output was:

Error Output was: /development/adt-bundle-linux/sdk/platform-tools/adb: error while loading shared libraries: libncurses.so.5: cannot open shared object file: No such file or directory

[2012-12-30 15:47:57 - adb] /development/adt-bundle-linux/sdk/platform-tools/adb: error while loading shared libraries: libncurses.so.5: cannot open shared object file: No such file or directory [2012-12-30 15:47:57 - adb] 'adb version' failed! /development/adt-bundle-linux/sdk/platform-tools/adb: error while loading shared libraries: libncurses.so.5: cannot open shared object file: No such file or directory [2012-12-30 15:47:57 - adb] Failed to parse the output of 'adb version': Standard Output was:

Error Output was: /development/adt-bundle-linux/sdk/platform-tools/adb: error while loading shared libraries: libncurses.so.5: cannot open shared object file: No such file or directory

우분투에서 실행되는 android sdk 는 32bit application이기 때문에 32bit 공용 라이브러리들이 필요한 것이다. 실행에 필요한 32bit 공용 라이브러리를 추가하는 것으로 간단하게 문제를 해결할 수 있게 된다. 

+ Recent posts