二进制安装mysql5.6.39报错找不到libnuma.so.1库文件

Posted

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了二进制安装mysql5.6.39报错找不到libnuma.so.1库文件相关的知识,希望对你有一定的参考价值。

二进制安装mysql5.6.39初始化时报错如下:

[[email protected] scripts]# ./mysql_install_db --datadir=/data/mysql/data --basedir=/usr/local/mysql --user=mysql --explicit_defaults_for_timestamp
Installing MySQL system tables.../usr/local/mysql/bin/mysqld: error while loading shared libraries: libnuma.so.1: cannot open shared object file: No such file or directory

提示找不到库文件,于是查找缺少库文件的安装包

[[email protected] tmp]#  yum provides libnuma.so.1 
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
 * base: mirrors.cn99.com
 * extras: mirrors.cn99.com
 * updates: mirrors.163.com
numactl-2.0.9-2.el6.i686 : Library for tuning for Non Uniform Memory Access machines
Repo        : base
Matched from:
Other       : libnuma.so.1

采用yum安装此软件包
yum install numactl* -y

重新初始化mysql成功

以上是关于二进制安装mysql5.6.39报错找不到libnuma.so.1库文件的主要内容,如果未能解决你的问题,请参考以下文章

aix升级openssh报错找不到安装包

mysql5.6.39源码编译安装配置!

关于安装mySQL时报错找不到vcruntime140_1.dll的解决方案

关于安装mySQL时报错找不到vcruntime140_1.dll的解决方案

v-charts使用,报错找不到 echarts/lib/visual/dataColor

Go运行报错找不到包:package xxx is not in GOROOT