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

Posted miracle-luna

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了error while loading shared libraries: libnuma.so.1: cannot open shared object file: No such file or 相关的知识,希望对你有一定的参考价值。

 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

 

以上是关于error while loading shared libraries: libnuma.so.1: cannot open shared object file: No such file or 的主要内容,如果未能解决你的问题,请参考以下文章

error while loading shared libraries错误解决

error while loading shared libraries错误解决

error while loading shared libraries: libmcrypt.so.4

error while loading shared libraries: libaio.so.1

linux下报错:error while loading shared libraries

error while loading shared libraries的解決方法