赞
踩
/home/aitpm/software/mysql-5.7.27-aarch64/bin/my_print_defaults: error while loading shared libraries: libatomic.so.1: cannot open shared object file: No such file or directory
/home/aitpm/software/mysql-5.7.27-aarch64/bin/my_print_defaults: error while loading shared libraries: libatomic.so.1: cannot open shared object file: No such file or directory
Logging to '/home/aitpm/software/mysql-5.7.27-aarch64/data/kubeMaster.err'
启动mysql的时候是这样的报错
首先查看是不是mysql 安装之前没有安装依赖包,
[root@kubeMaster ~]# ldd $(which /home/aitpm/software/mysql-5.7.27-aarch64/bin/my_print_defaults)
linux-vdso.so.1 => (0x0000ffffb2400000)
libpthread.so.0 => /lib64/libpthread.so.0 (0x0000ffffb23a0000)
librt.so.1 => /lib64/librt.so.1 (0x0000ffffb2370000)
libatomic.so.1 => not found
libstdc++.so.6 => /lib64/libstdc++.so.6 (0x0000ffffb2240000)
libm.so.6 => /lib64/libm.so.6 (0x0000ffffb2180000)
libgcc_s.so.1 => /lib64/libgcc_s.so.1 (0x0000ffffb2140000)
libc.so.6 => /lib64/libc.so.6 (0x0000ffffb1fb0000)
/lib/ld-linux-aarch64.so.1 (0x0000ffffb2410000)
发现其中一个是发现不了的
然后find一下,在本机上,如果没找到就,yum install libatomic.so.1
若是找到了,就将文件cp到 /usr/lib 或者是 、/usr/lib64 中 即可
然后再重新启动就不会报libatomic.so.1
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。