The accepted answer didn’t work for me, but following here did:
https://ubuntuforums.org/showthread.php?t=2375927
Repeating the answer:
cd /your_software/../lib/ (the directory containing libz.so.1)
mv libz.so.1 libz.so.1.old
ln -s /lib/x86_64-linux-gnu/libz.so.1