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
文章起源:http://ybzwz.com/article/jeppco.html