在CentOS(64bit)上安装Sysbench
2012-04-03 00:00
309 查看
前置条件:已安装GCC和libtool的最新版本;
安装脚本:
错误一:
处理:
错误二:
处理:
安装脚本:
tar zxf sysbench-0.4.12.tar.gz cd sysbench-0.4.12 ./autogen.sh ./configure --with-mysql-includes=#MYSQL_HOME#/include --with-mysql-libs=#MYSQL_HOME#/lib && make && make install
错误一:
../libtool: line 838: X--tag=CC: command not found ../libtool: line 871: libtool: ignoring unknown tag : command not found ../libtool: line 838: X--mode=link: command not found ../libtool: line 1004: *** Warning: inferring the mode of operation is deprecated.: command not found ../libtool: line 1005: *** Future versions of Libtool will require --mode=MODE be specified.: command not found ../libtool: line 2231: X-g: command not found ../libtool: line 2231: X-O2: command not found ../libtool: line 1951: X-L/u01/mysql/lib: No such file or directory ../libtool: line 2400: Xsysbench: command not found
处理:
#libtool版本太久,使用系统的进行更新 cp /usr/bin/libtool libtool
错误二:
./sysbench: error while loading shared libraries: libmysqlclient.so.18: cannot open shared object file: No such file or directory
处理:
#使用该脚本设置LD_LIBRARY_PATH来解决sysbench找不到mysql的lib的问题 export LD_LIBRARY_PATH=/usr/local/mysql/lib
相关文章推荐
- CentOS-7-64bit 配置Apache + MySQL + PHP,防火墙,vnc,yum,groupinstall安装桌面
- CentOS6.5_64bit下编译安装MySQL-5.6.23
- 大环境下MySQL5.6源码安装实战一步步教你 CentOS6.5_64bit下编译安装MySQL-5.6.23@guoyJoe
- CentOS6.8 x86_64bit安装PHP-5.3.27
- CentOS 64bit 安装 lampp 后无法运行
- centos6.5 64bit 上安装 docker-1.7.1 权威实践教程
- Hadoop:Centos6.5(64bit)Hadoop2.5.1伪分布式安装记录
- Linux(CentOS 6.4 64bit) 安装摘要
- centos6.5-64bit安装htop
- CentOS6.2(64Bit)安装php扩展mcrypt
- CentOS 7 64bit下安装Nginx笔记
- GPT硬盘安装Win8.1 (64bit)+CentOS7 双系统
- 大数据之Hadoop平台(二)Centos6.5(64bit)Hadoop2.5.1伪分布式安装记录,wordcount运行测试
- centos 安装sysbench及简单使用
- CentOS6.8 x86_64bit mysql-5.5.57多实例安装
- 在CentOS 6.3 64bit下yum安装MySQL后重置root密码的方法
- 在centos6.5 64bit环境下安装最新版本的git
- 在centos6.5 64bit环境下安装最新版本的git
- NTOP4.01 CENTOS 6.3-64BIT 安装
- centos6.5 64bit 安装 vsftp 的曲折道路