欢迎您访问程序员文章站本站旨在为大家提供分享程序员计算机编程知识!
您现在的位置是: 首页  >  IT编程

mysql初始化/usr/local/mysql/bin/mysqld: error while loading shared libraries: libnuma.so.1: cannot open shared object file: No such file or directory

程序员文章站 2022-07-04 22:35:25
[root@test153 ~]# /usr/local/mysql/bin/mysqld --initialize --user=mysql --basedir=/usr/local/mysql --datadir=/data/mysql_data1 /usr/local/mysql/bin/my ......

[root@test153 ~]# /usr/local/mysql/bin/mysqld --initialize --user=mysql --basedir=/usr/local/mysql --datadir=/data/mysql_data1
/usr/local/mysql/bin/mysqld: error while loading shared libraries: libnuma.so.1: cannot open shared object file: no such file or directory

 

[root@test153 ~]# yum -y install numactl
loaded plugins: fastestmirror
setting up install process
loading mirror speeds from cached hostfile
resolving dependencies
--> running transaction check
---> package numactl.x86_64 0:2.0.9-2.el6 will be installed
--> finished dependency resolution

dependencies resolved

========================================================================================================================================================
package arch version repository size
========================================================================================================================================================
installing:
numactl x86_64 2.0.9-2.el6 base 74 k

transaction summary
========================================================================================================================================================
install 1 package(s)

total download size: 74 k
installed size: 171 k
downloading packages:
numactl-2.0.9-2.el6.x86_64.rpm | 74 kb 00:00
running rpm_check_debug
running transaction test
transaction test succeeded
running transaction
installing : numactl-2.0.9-2.el6.x86_64 1/1
verifying : numactl-2.0.9-2.el6.x86_64 1/1

installed:
numactl.x86_64 0:2.0.9-2.el6

complete!

yum -y install numactl
yum install libnuma
yum install ld-linux.so.2
yum install libaio.so.1
yum install libnuma.so.1
yum install libstdc++.so.6
yum install libtinfo.so.5

yum clean all
yum makecache