libz should be part of illumos
The problem here is that many illumos commands and libraries link with libz, but libz only exists on the build host. This means that libz requires libc on the build host but that version of libc may be different from the one in illumos. Makefiles at these locations link with libz:
It should be easy to incorporate libz, as it's a separate product that only requires libc. The alternative of removing all of the components that link with libz is much more difficult.
Updated by Gordon Ross over 6 years ago
While I appreciate the efforts to deal with these dependencies, before we start copying more code into illumos-gate, I'd like a decision on how we handle these things. See my email to developers today: Proposing a new approach for things like OpenSSL