Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

What about mydumper compilation errors?

2025-02-23 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Database >

Share

Shulou(Shulou.com)05/31 Report--

This article mainly introduces how to do mydumper compilation errors, has a certain reference value, interested friends can refer to, I hope you can learn a lot after reading this article, the following let the editor take you to understand it.

[root@service mydumper-0.9.1] # cmake ``- DMYSQL_CONFIG=/usr/local/percona3306/bin/mysql_ config``.

Report the following error, and then make makes it easier to fail:

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".

Reason:

The MYSQL_LIBRARIES:FILEPATH parameter in the CMakeCache.txt file is misconfigured:

/ / 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

Deal with:

Percona mysql is deployed in / usr/local/percona3306 to modify the MYSQL_LIBRARIES:FILEPATH parameter:

/ / 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

Thank you for reading this article carefully. I hope the article "what to do with mydumper compilation errors" shared by the editor will be helpful to everyone. At the same time, I also hope that you will support us and pay attention to the industry information channel. More related knowledge is waiting for you to learn!

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report