这篇文章主要介绍了mydumper编译错误怎么办,具有一定借鉴价值,感兴趣的朋友可以参考下,希望大家阅读完这篇文章之后大有收获,下面让小编带着大家一起了解一下。 [root@service mydumpe
这篇文章主要介绍了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编译错误怎么办”这篇文章对大家有帮助,同时也希望大家多多支持编程网,关注编程网数据库频道,更多相关知识等着你来学习!
--结束END--
本文标题: mydumper编译错误怎么办
本文链接: https://lsjlt.com/news/63350.html(转载时请注明来源链接)
有问题或投稿请发送至: 邮箱/279061341@qq.com QQ/279061341
2024-10-23
2024-10-22
2024-10-22
2024-10-22
2024-10-22
2024-10-22
2024-10-22
2024-10-22
2024-10-22
2024-10-22
回答
回答
回答
回答
回答
回答
回答
回答
回答
回答
0