您好,登錄后才能下訂單哦!
這篇文章主要介紹了mydumper編譯錯(cuò)誤怎么辦,具有一定借鑒價(jià)值,感興趣的朋友可以參考下,希望大家閱讀完這篇文章之后大有收獲,下面讓小編帶著大家一起了解一下。
[root@service mydumper-0.9.1]# cmake ``-DMYSQL_CONFIG=/usr/local/percona3306/bin/mysql_config`` .
報(bào)下面的錯(cuò)誤,然后 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ù)配置錯(cuò)誤:
//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
感謝你能夠認(rèn)真閱讀完這篇文章,希望小編分享的“mydumper編譯錯(cuò)誤怎么辦”這篇文章對(duì)大家有幫助,同時(shí)也希望大家多多支持億速云,關(guān)注億速云行業(yè)資訊頻道,更多相關(guān)知識(shí)等著你來學(xué)習(xí)!
免責(zé)聲明:本站發(fā)布的內(nèi)容(圖片、視頻和文字)以原創(chuàng)、轉(zhuǎn)載和分享為主,文章觀點(diǎn)不代表本網(wǎng)站立場(chǎng),如果涉及侵權(quán)請(qǐng)聯(lián)系站長(zhǎng)郵箱:is@yisu.com進(jìn)行舉報(bào),并提供相關(guān)證據(jù),一經(jīng)查實(shí),將立刻刪除涉嫌侵權(quán)內(nèi)容。