sysbench RHEL6 安装备忘

来源:互联网 发布:2017淘宝权重规则 编辑:程序博客网 时间:2024/05/17 20:31

sysbench 用于压力测试

相应下载, 文档位置  http://sysbench.sourceforge.net/

但从 2009 年开始已经停止开发


rhel6 下, 正常编译会出现类似下面错误

../libtool: line 841: X--mode=link: command not found


解决 :  编辑 configure.ca:


#AC_PROG_LIBTOOL
AC_PROG_RANLIB


./autogen.sh

./configure --with-mysql  --with-mysql-includes=/usr/local/mysql/include  --with-mysql-libs=/usr/local/mysql/lib/

make && make install 

成功编译

 

## 注意 ##

某些 MySQL 版本中, 需要定义为

./configure --with-mysql  --with-mysql-includes=/usr/local/mysql/include/mysql/  --with-mysql-libs=/usr/local/mysql/lib/mysql/

 

原创粉丝点击