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://myzitong.com/article/jeppco.html