编译安装mysql报错

今天编译mysql5.7.21报错

CMake Error at cmake/readline.cmake:64 (MESSAGE):
Curses library not found. Please install appropriate package,

解决办法下面已明确给出

remove CMakeCache.txt and rerun cmake.On Debian/Ubuntu, package name is libncurses5-dev, on Redhat and derivates it is ncurses-devel.

ubuntu/deepin解决办法:

apt install libncurses5-dev

redhat/centos解决办法

yum install ncurses-devel

发表评论

登录... 后才能评论