Ubuntu编译链接错误:cannot find lz解决办法 这是因为没有安装zlib库,使用如下方式安装即可:sudo apt-get install zlib1g-dev注意有些系统上可能是:sudo apt-get install zlib-dev