error: No curses/termcap library found

简介:

今天源码安装mysql报错,信息如下:

1
2
3
4
5
6
7
8
9
checking  for  wchar_t  in  wchar.h...  yes
checking  for  wctype_t  in  wctype.h...  yes
checking  for  wint_t  in  wctype.h...  yes
checking  for  tgetent  in  -lncursesw... no
checking  for  tgetent  in  -lncurses... no
checking  for  tgetent  in  -lcurses... no
checking  for  tgetent  in  -ltermcap... no
checking  for  tgetent  in  -ltinfo... no
checking  for  termcap functions library... configure: error: No curses /termcap  library found

解决方法:

一、如果你的系统是RedHat系列:

1
2
3
yum list| grep  ncurses
yum -y  install  ncurses-devel
yum  install  ncurses-devel


 

二、如果你的系统是UbuntuDebian

1
2
apt-cache search ncurses
apt-get  install  libncurses5-dev










本文转自 xinsir999 51CTO博客,原文链接:http://blog.51cto.com/xinsir/1748935,如需转载请自行联系原作者
目录
打赏
0
相关文章
Android Studio 解决:error adding symbols: File in wrong format clang++.exe: error: linker command...
错误日志: Error:FAILURE: Build failed with an exception. * What went wrong: Execution failed for task ':app:externalNativeBuildDebug'.
6603 0
dyld Library not loaded Reason image not found 问题解决
添加第三方框架,然后启动app的时候会,提示dyld: Library not loaded: Reason: image not found 网上大部分的做法都是把Build Phases 里对应framework后边的选项修改成为Optional,但这个是治标不治本,还是没法解决问题
216 0
x86_64-linux-gnu/libgdk-x11-2.0.so: error adding symbols: DSO missing from command line
x86_64-linux-gnu/libgdk-x11-2.0.so: error adding symbols: DSO missing from command line
257 0
configure: error: Library requirements (libpcre >= 7.8) not met
configure: error: Library requirements (libpcre >= 7.8) not met
151 0
gcc is unable to create an executable file.
gcc is unable to create an executable file.
466 0
ld: symbol(s) not found for architecture x86_64 clang: error: linker command failed with exit code 1
ld: symbol(s) not found for architecture x86_64 clang: error: linker command failed with exit code 1
728 0
gdb问题解决办法:no debugging symbols found
gdb问题解决办法:no debugging symbols found
224 0
解决办法:GLib-ERROR **: Creating pipes for GWakeup: Too many open files
解决办法:GLib-ERROR **: Creating pipes for GWakeup: Too many open files
188 0
Apple Mach-O Linker Warning Directory not found解决办法
Apple Mach-O Linker Warning Directory not found解决办法
132 0
成功解决OSError: dlopen() failed to load a library: cairo / cairo-2 / cairo-gobject-2 / cairo.so.2
成功解决OSError: dlopen() failed to load a library: cairo / cairo-2 / cairo-gobject-2 / cairo.so.2
成功解决OSError: dlopen() failed to load a library: cairo / cairo-2 / cairo-gobject-2 / cairo.so.2
AI助理

你好,我是AI助理

可以解答问题、推荐解决方案等