error while loading shared libraries: libnuma.so.1: cannot open shared object file: No such file or directory

 error while loading shared libraries: libnuma.so.1: cannot open shared object file: No such file or directory


 

在CentOS 7.6 操作系统的机器上安装 MySQL 过程中,执行安装命令报错。

1、安装命令

./scripts/mysql_install_db --user=mysql --basedir=/usr/local/mysql --datadir=/usr/local/mysql/data --pid-file=/usr/local/mysql/data/miracle.pid

2、报错信息

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

3、解决方案

安装 numactl,命令如下:

yum -y install numactl

PS:

如果是 Ubuntu 操作系统,执行如下命令安装 numactl

sudo apt-get install numactl
原文地址:https://www.cnblogs.com/miracle-luna/p/13328497.html