错误提示如图
一开始我查询了
[[email protected] mysql]# ls -al /lib/libc*
-rwxr-xr-x 1 root root 1909464 Mar 22 01:49 /lib/libc-2.12.so
-rwxr-xr-x 1 root root 195532 Mar 22 01:49 /lib/libcidn-2.12.so
lrwxrwxrwx 1 root root 15 Apr 13 21:57 /lib/libcidn.so.1 -> libcidn-2.12.so
-rwxr-xr-x 1 root root 38824 Mar 22 01:49 /lib/libcrypt-2.12.so
lrwxrwxrwx 1 root root 16 Apr 13 21:57 /lib/libcrypt.so.1 -> libcrypt-2.12.so
lrwxrwxrwx 1 root root 12 Apr 13 21:57 /lib/libc.so.6 -> libc-2.12.so
[[email protected] mysql]#
最后直接将原有的包直接卸载,然后重新安装,问题得到解决。
yum -y install libgcc_s.so.1
libgcc_s.so.1 must be installed for pthread_cancel to work
yum -y install libaio.so.1
/application/mysql//bin/mysqld: error while loading shared libraries: libaio.so.1: cannot open shared object file: No such file or directory