libz.so.1:cannotopensharedobjectfile:Nosuchfileordirectory

在虚拟机安装xtrabackup工具时候出现的报错:

libz.so.1: cannot open shared object file: No such file or directory

[root@back lib]# find / -name libz.so.1
/usr/local/lib/libz.so.1
/lib64/libz.so.1

[root@back lib]# rm -rf /lib64/libz.so.1

[root@back lib]# ln -s /usr/local/lib/libz.so.1 /lib64/libz.so.1

新闻标题:libz.so.1:cannotopensharedobjectfile:Nosuchfileordirectory
URL链接:http://hbruida.cn/article/jeppco.html