The "-lz" is coming from libtool's analysis of libxml2-dev's .la file. The correction for this is to fix libxml2-dev's Depends to include zlib1g-dev.
The "-lz" is coming from libtool's analysis of libxml2-dev's .la file. The correction for this is to fix libxml2-dev's Depends to include zlib1g-dev.