【MySQL案例】tpcc--执行tpcc_load报错error while loading shared libraries: libperconaserverclient.s

【报错信息】

针对mysql官方社区版进行测试的时候,执行tpcc_load脚本提示缺少libperconaserverclient.so.18库文件:

time ./tpcc_load 127.0.0.1 tpcc1000 root"" 500

./tpcc_load: error while loading sharedlibraries: libperconaserverclient.so.18: cannot open shared object file: Nosuch file or directory

【报错原因】

Tpcc-mysql是依赖于percona mysql开发的工具,它依赖于一些percona的库文件,而本案例中测试的是mysql community社区版。

【解决方法】

安装对应版本的Percona-Server-shared包,

本案例中需要安装的包是Percona-Server-shared-55-5.5.40-rel36.1.el5.x86_64.rpm

时间: 2024-10-13 00:18:16

【MySQL案例】tpcc--执行tpcc_load报错error while loading shared libraries: libperconaserverclient.s的相关文章

解决tpcc_load 报错 error while loading shared libraries: libmysqlclient.so.20

在刚开始导入tpcc数据仓库时,可能会遇到 error while loading shared libraries: libmysqlclient.so.20这个错误,找不到库文件. 但是,通过find 能查找到这个文件 [[email protected] src]# find / -name libmysqlclient.so.20 /usr/local/mysql/lib/libmysqlclient.so.20 /usr/local/src/mysql-5.7.16/libmysql/

运行编译后的程序报错 error while loading shared libraries: lib*.so: cannot open shared object file: No such file or directory

运行编译后的程序报错  error while loading shared libraries: lib*.so: cannot open shared object file: No such file or directory -------------------------------------------------------------------------------------------------------------------------------------

mysql无法初始化 报错 error while loading shared libraries: libaio.so.1

仔细看了一下,这个错误是在执行./scripts/mysql_install_db --user=mysql & 的时候出现的. 于是安装了一下libaio ubuntu:apt-get install libaio-dev centos:yum install libaio 再次执行./scripts/mysql_install_db --user=mysql & 成功 启动mysql成功. 成功安装. 顺便说一下,包的作用是为了支持同步I/O.对于数据库之类的系统特别重要,因此在lin

安装文件报错error while loading shared libraries: libssl.so.6

http://www.openssl.org/source/  这里下载http://www.openssl.org/source/openssl-1.0.0r.tar.gz 安装命令为:tar -zxvf opensslopenssl-1.0.0r.tar.gzcd openssl-1.0.0r./configmake install 做链接for 32bit  ln-sf /usr/lib/libssl.so.10 /usr/lib/libssl.so.6 ln-sf /usr/lib/li

linux下报错:error while loading shared libraries

linux执行bin程序报: error while loading shared libraries:libncurses.so.5: cannot open shared object file: No such file or directory 解决方法: yum -y install libncurses.so.5 安装这个库之后有可能报: error while loading shared libraries:libstdc++so.6: cannot open shared ob

升级 MySQL 至 5.5,报错 [ERROR] Plugin 'InnoDB' init function returned error

MySQL 从 5.5 升级到 5.6,启动时报错: [ERROR] Plugin 'InnoDB' init function returned error. [ERROR] Plugin 'InnoDB' registration as a STORAGE ENGINE failed. [ERROR] Unknown/unsupported storage engine: InnoDB [ERROR] Aborting 原因:主要是没有正常关闭 mysqld 服务的情况下,对数据库参数进行改

java数据库执行迁移报错Error creating bean with name 'flywayInitializer' defined in class path resource

报错原因 org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'flywayInitializer' defined in class path resource [org/springframework/boot/autoconfigure/flyway/FlywayAutoConfiguration$FlywayConfiguration.class]: Invocati

解决ffmpeg执行报错“ffmpeg: error while loading shared libraries: libavdevice.so.58: cannot open shared object file: No such file or directory”的问题

问题现象: 执行ffmpeg命令后报错: ffmpeg: error while loading shared libraries: libavdevice.so.58: cannot open shared object file: No such file or directory 出问题的环境信息为: Fedora release 31 (Thirty One) ffmpeg-4.2.1 官方源码编译 看下需要哪些依赖: ldd ffmpeg 可以看到缺失的依赖 我们找下这些文件在哪里 f

mysql 初始化报错 /usr/local/mysql/bin/mysqld:error while loading shared libraries :libaio.so.1

安装mysql在初始化的时候,出现/usr/local/mysql/bin/mysqld:error while loading shared libraries:libaio.so.1 :cannot open shared object file:NO such file or directory 解决方法: <P>type the following</P> <P>apt-get install libaio1 libaio-dev</P> <P