Prerequisites: The latest version of GCC and libtool has been installed. the installation script is composer./autogen. sh4./configure -- with-mysql-related des # MYSQL_HOME #/include -- with-mysql-libs.
Prerequisites: The latest version of GCC and libtool has been installed; installation script: 1tar zxf sysbench-0.4.12.tar.gz2cd sysbench-0.4.123. /autogen. sh4./configure -- with-mysql-related des = # MYSQL_HOME #/include -- with-mysql-libs = # MYSQL_HOME #/lib & make install error 1: 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 Processing: 1 # libtool version too long, use the system to update 2cp/usr/bin/libtool error 2: 1. /sysbench: error while loading shared libraries: libmysqlclient. so.18: cannot open shared object file: No such file or directory processing: 1 # use this script to set LD_LIBRARY_PATH to solve the problem that sysbench cannot find mysql lib 2 export LD_LIBRARY_PATH =/usr/local/mysql/lib
Author Neron. L
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.
A Free Trial That Lets You Build Big!
Start building with 50+ products and up to 12 months usage for Elastic Compute Service