大橙子网站建设,新征程启航
为企业提供网站建设、域名注册、服务器等服务
这篇文章主要介绍了mydumper编译错误怎么办,具有一定借鉴价值,感兴趣的朋友可以参考下,希望大家阅读完这篇文章之后大有收获,下面让小编带着大家一起了解一下。
做网站、网站建设服务团队是一支充满着热情的团队,执着、敏锐、追求更好,是创新互联的标准与要求,同时竭诚为客户提供服务是我们的理念。成都创新互联把每个网站当做一个产品来开发,精雕细琢,追求一名工匠心中的细致,我们更用心!
[root@service mydumper-0.9.1]# cmake ``-DMySQL_CONFIG=/usr/local/percona3306/bin/mysql_config`` .
报下面的错误,然后 make 便于失败:
CMake Error: The following variables are used in this project, but they are set to NOTFOUND.
Please set them or make sure they are set and tested correctly in the CMake files:
MYSQL_LIBRARIES_perconaserverclient
linked by target "mydumper" in directory /root/mydumper-0.9.1
linked by target "myloader" in directory /root/mydumper-0.9.1
-- Configuring incomplete, errors occurred!
See also "/root/mydumper-0.9.1/CMakeFiles/CMakeOutput.log".
原因:
CMakeCache.txt 文件中 MYSQL_LIBRARIES:FILEPATH 参数配置错误:
//INTERNAL
MYSQL_LIBRARIES:FILEPATH=MYSQL_LIBRARIES_perconaserverclient-NOTFOUND;/usr/lib64/libpthread.so;/usr/lib64/libz.so;/usr/lib64/libm.so;/usr/lib64/librt.so;/usr/lib64/libssl.so;/usr/lib64/libcrypto.so;/usr/lib64/libdl.so
处理:
percona mysql 部署在 /usr/local/percona3306 修改 MYSQL_LIBRARIES:FILEPATH 参数:
//INTERNAL
MYSQL_LIBRARIES:FILEPATH=/usr/local/percona3306/lib/libperconaserverclient.so.20;/usr/lib64/libpthread.so;/usr/lib64/libz.so;/usr/lib64/libm.so;/usr/lib64/librt.so;/usr/lib64/libssl.so;/usr/lib64/libcrypto.so;/usr/lib64/libdl.so
感谢你能够认真阅读完这篇文章,希望小编分享的“mydumper编译错误怎么办”这篇文章对大家有帮助,同时也希望大家多多支持创新互联,关注创新互联行业资讯频道,更多相关知识等着你来学习!