After some research I think it is not easy to get rid of zip.h/unzip.h/unzip.cc/ioapi.h since this is not from zlib but form minizip which is based on zlib and allows opening zip archives. However most distributions don't offer a shared library for minizip, so there is no way to avoid including it. For more information have a look at http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=574798
After some research I think it is not easy to get rid of zip.h/unzip. h/unzip. cc/ioapi. h since this is not from zlib but form minizip which is based on zlib and allows opening zip archives. However most distributions don't offer a shared library for minizip, so there is no way to avoid including it. For more information have a look at http:// bugs.debian. org/cgi- bin/bugreport. cgi?bug= 574798