checking for termcap functions library... configure: error: No curses/termcap library found

安装mysql ./configure时候报错

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
 

查看termcap的安装包

[root@XKWB3403 mysql-5.1.56]# rpm -qa |grep termcap
termcap-5.5-1.20060701.1
libtermcap-2.0.8-46.1
 

 

安装termcap开发包

[root@XKWB3403 mysql-5.1.56]# yum install libtermcap-devel -y

 

检查包的安装情况

[root@XKWB3403 mysql-5.1.56]# rpm -qa |grep termcap

termcap-5.5-1.20060701.1
libtermcap-2.0.8-46.1
libtermcap-devel-2.0.8-46.1

最后重新编译一下Mysql

你可能感兴趣的:(error,职场,library,休闲)