更新时间:2022-01-31 04:07:39
您应该为zlib安装开发支持文件,请尝试:
You should install the development support files for zlib, try:
sudo apt-get install libz-dev
其他软件包名称: zlib1g-dev
.
如果您已经有了 zlib
库,请确保使用 -lz
编译代码源.请参阅:在Ubuntu中丢失zlib.h .
If you've already zlib
library, make sure you're compiling your code sources with -lz
. See: missing zlib.h in ubuntu.