No curses/termcap library found

CentOS6.5中编译Mysql时遇见如下错误

error:
No curses/termcap library found

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

安装之初我已经用yum安装了ncurses*了,不过rpm -qa发现缺少了

ncurses-devel

rpm -ivh  ncurses-devel-5.7-3.20090208.el6.x86_64

安装即可

上一篇:git rebase与 git合并(error: failed to push some refs to)解决方法


下一篇:20.cocoapods的安装和使用