天天看点

Cmake编译mysql出错Could NOT find Curses (missing: CURSES_LIBR

问题描述:

        利用Cmake 编译mysql-5.5.8版本时,出现

-- Could NOT find Curses  (missing:  CURSES_LIBRARY CURSES_INCLUDE_PATH) 

CMake Error at cmake/readline.cmake:82 (MESSAGE): 

  Curses library not found.  Please install appropriate package,

错误

解决方法:

显示缺少libcurse library,建议安装libncurses5-dev包

yum –y install libncures5-*

如果存在,find /  -name libncurses*

cmake . -DCURSES_LIBRARY=/usr/lib/libncurses.so -DCURSES_INCLUDE_PATH=/usr/include即可解决

本文转自    geekwolf   51CTO博客,原文链接:http://blog.51cto.com/linuxgeek/997907

下一篇: Linux基础

继续阅读