繁体   English   中英

加载共享库时出错:libnuma.so.1:无法打开共享对象文件:没有这样的文件或目录

[英]Error while loading shared libraries: libnuma.so.1: cannot open shared object file: No such file or directory

总结一下:

在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

问题详情:

我在 linux centos7(没有 yum)上安装 mysql,在初始化 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 ; 

我搜索了一些 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

再次运行 scripts/mysql_install_db 时,错误信息仍然出现。
任何sugetstions?

我解决了这个问题:

sudo apt-get install libnuma-dev

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM