码迷,mamicode.com
首页 > 其他好文 > 详细

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

时间:2020-07-17 13:34:29      阅读:60      评论:0      收藏:0      [点我收藏+]

标签:sudo   解决方案   pen   方案   install   lin   ubunt   tab   机器   

 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 directory

标签:sudo   解决方案   pen   方案   install   lin   ubunt   tab   机器   

原文地址:https://www.cnblogs.com/miracle-luna/p/13328497.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!