0
点赞
收藏
分享

微信扫一扫

sysbench安装避坑

绣文字 2022-03-21 阅读 53

sysbench安装避坑

1. sysbench运行出现:error while loading shared libraries: libluajit-5.1.so.2: cannot open

解决方法:

yum -y install lua*

2. 运行出现 sysbench: error while loading shared libraries: libck.so.0: cannot open shared object file: No such file or directory

解决方法:缺少ck依赖包

  1. wget ftp://ftp.pbone.net/mirror/download.fedora.redhat.com/pub/fedora/epel/7/x86_64/Packages/c/ck-0.5.2-2.el7.x86_64.rpm
  2. yum install ck-0.5.2-2.el7.x86_64.rpm

3. 运行出现 sysbench-1.0.17-2.el7.x86_64 (/sysbench-1.0.17-2.el7.x86_64) Requires: libluajit-5.1.so.2()(64bit)

解决方法:缺少luajit依赖包

  1. wget ftp://ftp.pbone.net/mirror/ftp5.gwdg.de/pub/opensuse/repositories/home:/matthewdva:/epel:/el7/RHEL_7/x86_64/luajit-2.0.4-3.5.x86_64.rpm
  2. yum luajit-2.0.4-3.5.x86_64.rpm
举报

相关推荐

0 条评论