编译错误:/usr/bin/ld: cannot find -lz时间:2022-11-04 01:49:34编译时出现错误/usr/bin/ld: cannot find -lz,安装zlib和zlib-devel yum install zlib yum install zlib-devel