Error Deflate And Inflate With zLib September 20, 2023 by Tarik You need to link it with the zlib library as well. Just add -lz to near end of your command line.