Chu*_*Chu 10 mysql linux centos7
在centos7上安装mysql(没有yum),我已经安装了numactl,但仍然出现错误:
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
Run Code Online (Sandbox Code Playgroud)
我在linux centos7上安装mysql(没有yum),在初始化scripts/mysql_install_db时,出现错误信息:
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 ;
Run Code Online (Sandbox Code Playgroud)
我搜索了 numactl 需要的一些建议。但我已经安装了 numactl:
[root@foo scripts]# sudo yum install numactl -y
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
Package numactl-2.0.9-7.el7.x86_64 already installed and latest version
Nothing to do
Run Code Online (Sandbox Code Playgroud)
再次运行scripts/mysql_install_db时,错误信息仍然出现。
有什么建议吗?
*_*лов 15
我解决了这个问题:
sudo apt-get install libnuma-dev
Run Code Online (Sandbox Code Playgroud)