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

 


免责声明!

本站转载的文章为个人学习借鉴使用,本站对版权不负任何法律责任。如果侵犯了您的隐私权益,请联系本站邮箱yoyou2525@163.com删除。



 
粤ICP备18138465号  © 2018-2025 CODEPRJ.COM