Sometimes when you need to install something that interacts with libz, you might get the following message (I have faced it while installing git):
git: /usr/local/lib/libz.so.1: no version information available (required by git)
Solution is simple – most probably you already have a library with right version, just the symbolic link to it is wrong.
First of all, find libz.so version you are using:
ls | grep libz
You should see something like this:
Ok, we’ve found the right version, let’s make a correct symlink. In my case it’s
ln -s /usr/lib/libz.so.1.2.3 /usr/local/lib/libz.so.1
That’s it! Now everything should be ok.