gpt4 book ai didi

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

转载 作者:行者123 更新时间:2023-12-04 15:40:54 30 4
gpt4 key购买 nike

总结一下:

在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

关于mysql - 加载共享库 : libnuma. so.1 时出错:无法打开共享对象文件:没有这样的文件或目录,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/57833459/

30 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com