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