Get the App
SLTechnology News&Howtos  ›  Database  › 

What about mydumper compilation errors?

Shulou Source: shulou.com Published: 2022-05-31 15:28:09 11月17日 Update

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!

Tags: Errors articles how to do compilation parameters value interests reasons at the same time documents more friends knowledge editing industry information information channels facets channels references Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno OPPO Reno vpn Xiaomi Linux Shulou Tech Info