首页 > 其他 > 详细

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

时间:2020-03-16 13:25:40      阅读:61      评论:0      收藏:0      [点我收藏+]

error while loading shared libraries: libnuma.so.1: cannot open shared object file

在初始化mysql5.7的时候,报以下错误

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

备注:
初始化参数为

/usr/local/mysql/bin/mysqld --initialize --basedir=/usr/local/mysql --datadir=/usr/local/mysql/data/ --user=mysql
  • 1

技术分享图片

原因:

yum 安装的libnuma.so.1,但安装时默认安装的是32的,但db2需要的是64位的
  • 1

解决办法:

1.如果已经安装了libnuma.so.1,先yum remove libnuma.so.1
2.yum -y install numactl.x86_64
  • 1
  • 2
发布了323 篇原创文章 · 获赞 146 · 访问量 85万+

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

原文:https://www.cnblogs.com/python001-vip/p/12503198.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!