CentOS6.8安装MySQL5.7.20时报Curses library not found解决
报错如下:
- CMakeErroratcmake/readline.cmake:83(MESSAGE):
- Curseslibrarynotfound.Pleaseinstallappropriatepackage
- ....
解决办法:
进入你的mysql解压目录删除CMakecache.txt文件,在解压目录里安装ncurese包,重新编译即可
第一步:rm -f CMakeCache.txt
第二步: yum install ncurses-devel
然后在正常cmake就ok了!