If Boost static libraries are used, then ZLIB must be linked with manually. With Boost shared libraries, the shared library `boost_iostreams` itself is linked with ZLIB.
If Boost static libraries are used, then ZLIB must be linked with manually. With Boost shared libraries, the shared library `boost_iostreams` itself is linked with ZLIB.