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

 

相关文章:

  • 2022-12-23
  • 2021-10-09
  • 2021-12-05
  • 2022-02-20
  • 2021-08-19
  • 2021-08-19
  • 2021-07-16
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2021-08-30
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案