189 8069 5689

mydumper编译错误怎么办-创新互联

这篇文章主要介绍了mydumper编译错误怎么办,具有一定借鉴价值,感兴趣的朋友可以参考下,希望大家阅读完这篇文章之后大有收获,下面让小编带着大家一起了解一下。

创新互联专注于企业营销型网站建设、网站重做改版、铁东网站定制设计、自适应品牌网站建设、H5高端网站建设成都商城网站开发、集团公司官网建设、外贸网站建设、高端网站制作、响应式网页设计等建站业务,价格优惠性价比高,为铁东等各大城市提供网站开发制作服务。

[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编译错误怎么办”这篇文章对大家有帮助,同时也希望大家多多支持创新互联,关注创新互联-成都网站建设公司行业资讯频道,更多相关知识等着你来学习!


网页题目:mydumper编译错误怎么办-创新互联
新闻来源:http://jkwzsj.com/article/ccscso.html

其他资讯