Just an FYI thatclamav was linking to libz.so.1.1.4 and upgrading to
libz.so.1.2.11 resolved the issue with being unable to verify updates.
Might need to be a check for a minimum zlip version though I don't have
input which version specifically demonstrates the issue.
zlib 1.1.4 ??? How old of an OS are you trying to run this on?
FYI, this is probably somewhat relevant to your issue:
https://bugzilla.clamav.net/show_bug.cgi?id=12160
clamav-users mailing list
clamav-users@lists.clamav.net
https://lists.clamav.net/mailman/listinfo/clamav-users
Help us build a comprehensive ClamAV guide:
https://github.com/vrtadmin/clamav-faq
http://www.clamav.net/contact.html#ml