我收到以下错误版本 < 4.1.13 (for MySQL 4.1.x) 和 < 5.0.7 for (MySQL 5.0.x) 不是
但我在系统上安装了 mysql55-devel.x86_64 版本。可能是什么问题 ?
完成 cmake 消息:
-- Environment compile flags:
-- Environment link flags:
-- Boost version: 1.49.0
-- BOOST_INCLUDE_DIRS=/home/ec2-user/build/2_0/build_server/lib/linux/gcc/64/include
-- ENV{MYSQL_DIR} =
-- MySQL Include dir: /home/ec2-user/build/2_0/build_server/lib/linux/gcc/64/include
-- MySQL Library : /usr/lib64/mysql/libmysqlclient_r.so
-- MySQL Library dir: /usr/lib64/mysql
-- MySQL CXXFLAGS:
-- MySQL Link flags:
-- Looking for mysql_set_character_set
-- Looking for mysql_set_character_set - not found
CMake Error at FindMySQL.cm:182 (MESSAGE):
Versions < 4.1.13 (for MySQL 4.1.x) and < 5.0.7 for (MySQL 5.0.x) are not
supported. Please update your libraries.
Call Stack (most recent call first):
CMakeLists.txt:173 (INCLUDE)
我认为错误是找不到 mysql_set_character_set 并且它显示错误的错误消息。