/usr/local/lib/libz.so.1: no version information available – Working Fix (Directadmin Server)

By | February 16, 2016

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:

cd /usr/local/lib/;
ls | grep libz

You should see something like this:

2016-02-16_165114

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

2016-02-16_165323

That’s it! Now everything should be ok.

Leave a Reply