這篇文章主要介紹了mydumper編譯錯誤怎么辦,具有一定借鑒價值,感興趣的朋友可以參考下,希望大家閱讀完這篇文章之后大有收獲,下面讓小編帶著大家一起了解一下。
做網(wǎng)站、網(wǎng)站建設(shè)服務(wù)團隊是一支充滿著熱情的團隊,執(zhí)著、敏銳、追求更好,是創(chuàng)新互聯(lián)的標(biāo)準與要求,同時竭誠為客戶提供服務(wù)是我們的理念。成都創(chuàng)新互聯(lián)把每個網(wǎng)站當(dāng)做一個產(chǎn)品來開發(fā),精雕細琢,追求一名工匠心中的細致,我們更用心!
[root@service mydumper-0.9.1]# cmake ``-DMySQL_CONFIG=/usr/local/percona3306/bin/mysql_config`` .
報下面的錯誤,然后 make 便于失?。?/p>
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 參數(shù)配置錯誤:
//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 參數(shù):
//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編譯錯誤怎么辦”這篇文章對大家有幫助,同時也希望大家多多支持創(chuàng)新互聯(lián),關(guān)注創(chuàng)新互聯(lián)行業(yè)資訊頻道,更多相關(guān)知識等著你來學(xué)習(xí)!