解决错误/usr/bin/ld: cannot find -lz 编译安装mariadb5.60时,遇到错误: 定位libz的位置: 创建软连接 ln -s /usr/lib64/libz.so.1 /usr/lib64/libz.so 更新系统库: 重新编译,错误解决