1. 直接复制系统自带的libtool到项目目录,应该在/usr/bin目录下,覆盖代码文件目录下的libtool,再执行make cp /usr/bin/libtool /root/sysbench-0.4.12 2. 修改aclocal.m4文件,将上面的LIBTOOL='$(SHELL) $(top_builddir)/libtool'改成LIBTOOL='$(SHELL) /usr/bin/libtool'后重新执行./configure [root@localhost sysbench-0.4.12]# vi aclocal.m4 LIBTOOL='$(SHELL)...
源码编译安装mysql的压力测试工具sysbench,执行报如下错误: #vim /etc/ld.so.conf 添加如下: /opt/mysql-5.6.41/lib/ (mqsql lib库路径) # ldd /usr/local/bin/sysbench
问题解决了,通过重新编译安装sysbench: ./configure --with-mysql-includes=/usr/local/mysql/include/mysql --with-mysql-libs=/usr/local/mysql/lib/mysql make;make install 测试sysbench:cpu的基准测试 sysbench --test=cpu --cpu-max-prime=5000 run 遇到的另一个问题: 安装包的时候运行./configure 时出现...
【CPU】: Hygon C86 5380 【问题描述】*:安装sysbench在make是报错,搜索论坛有人问相同的问题,但没有解决,报错提示 libtool: link: gcc -Wall -Wextra -Wpointer-arith -Wbad-function-cast -Wstrict-prototypes -Wnested-externs -Wno-format-zero-length -Wundef -Wstrict-prototypes -Wmissing-prototypes -W...
yum install -y sysbench 无奈安装不上,报错,No Package sysbench available 9da40ffbca1734f40174582f755190d.png 查找解决办法参考https://blog.csdn.net/zhangchaoq/article/details/109378441 清华、阿里云的安装源均没有sysbench ,直接用epel源替换(第一次没有成功,具体不知道原因,按照其他方法从git上安装的sysbe...
安装sysbench遇到找不到库文件的问题 export LD_LIBRARY_PATH=/usr/mysql/lib ./configure --prefix=/usr/local/sysbench --with-mysql-includes=/data/eh/mysql/include/ \ --with-mysql-libs=/data/eh/mysql/lib/ --with-mysql=/data/eh/mysql