1、/usr/bin/ld: cannot find -lz 使用此命令可解决: sudo apt-get install zlib1g-dev sudo apt-get install lib32z1-dev;