在CentOS(64bit)上安裝Sysbench

來源:互聯網
上載者:User


前置條件:已安裝GCC和libtool的最新版本; 安裝指令碼:1tar zxf sysbench-0.4.12.tar.gz2cd sysbench-0.4.123./autogen.sh4./configure --with-mysql-includes=#MYSQL_HOME#/include --with-mysql-libs=#MYSQL_HOME#/lib && make && make install錯誤一:1../libtool: line 838: X--tag=CC: command not found 2../libtool: line 871: libtool: ignoring unknown tag : command not found 3../libtool: line 838: X--mode=link: command not found 4../libtool: line 1004: *** Warning: inferring the mode of operation is deprecated.: command not found   www.2cto.com  5../libtool: line 1005: *** Future versions of Libtool will require --mode=MODE be specified.: command not found 6../libtool: line 2231: X-g: command not found 7../libtool: line 2231: X-O2: command not found 8../libtool: line 1951: X-L/u01/mysql/lib: No such file or directory 9../libtool: line 2400: Xsysbench: command not found處理: 1#libtool版本太久,使用系統的進行更新2cp /usr/bin/libtool libtool錯誤二: 1./sysbench: error while loading shared libraries: libmysqlclient.so.18: cannot open shared object file: No such file or directory處理: 1#使用該指令碼設定LD_LIBRARY_PATH來解決sysbench找不到mysql的lib的問題2export LD_LIBRARY_PATH=/usr/local/mysql/lib 
  作者 Neron.L

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.