sudo apt-get install libstdc++6linux
yum install libncurses.so.5
android
sudo apt-get install libncurses.so.5 c++
sudo apt-get install lib32ncurses5
apt-get update把源更新一下数据库
使用gdb时的指令ubuntu
(gbd) info line *0x08xxxx
sudo apt-get install lib32z1 lib32ncurses5 lib32bz2-1.0ide
libncurses.so.5安装方法
在命令行中输入:
sudo apt-get install libncurses5-dev
make menuconfig
Ncurses是一个能提供功能键定义(快捷键),屏幕绘制以及基于文本终端的图形互动功能的动态库。
这就不难解释为什么执行make menuconfig命令须要ncurses了。
Ncurses是一个能提供基于文本终端窗口功能的动态库. Ncurses能够:
只要您喜欢,您能够使用整个屏幕
建立和管理一个窗口
使用8种不一样的彩色
为您的程序提供鼠标支持
使用键盘上的功能键
Ncurses能够在任何遵循ANSI/POSIX标准的UNIX系统上运行,除此以外,它还能够从系统数据库中检测终端的属性, 而且自动进行调整,提供一个不受终端约束的接口.所以,Ncurses能够在不一样的系统平台和不一样的终端上工做的很是好。oop
make: *** Waiting for unfinished jobs....
/home/endv/Downloads/android-ndk-r16b-linux-x86_64/android-ndk-r16b/toolchains/llvm/prebuilt/linux-x86_64/bin/clang++: error while loading shared libraries: libncurses.so.5: cannot open shared object file: No such file or directory
make: *** [obj/local/x86_64/objs/proto/__/src/Proto/pull_group_info_result.o] Error 127
ui
1 [sudo] password for endv: 2 Reading package lists... Done 3 Building dependency tree 4 Reading state information... Done 5 libstdc++6 is already the newest version (9.1.0-2ubuntu2~19.04). 6 libstdc++6 set to manually installed. 7 0 upgraded, 0 newly installed, 0 to remove and 2 not upgraded.
出现以上问题到缘由主要是Ubuntu用到是X64位,系统中缺乏X32的连接库,因此ANDROID编译会报错,解决方案以下:es5
Q1: error while loading shared libraries: libstdc++.so.6: cannot open shared object file: No such file or directoryspa
Solution:
# sudo apt-get install libstdc++6
Q2: error while loading shared libraries:libncurses.so.5:cannot oopen shared object file:No such file or directory
Solution:
# sudo apt-get install libncurses5:i386
Android SDK having trouble with ADB
http://askubuntu.com/questions/143774/android-sdk-having-trouble-with-adb