git clone 提示/libldap_r-2.4.so.2: no version information available...

错误信息

/usr/lib/git-core/git-remote-https: /usr/local/lib/libldap_r-2.4.so.2: no version information available (required by /usr/lib/x86_64-linux-gnu/libcurl-gnutls.so.4)
/usr/lib/git-core/git-remote-https: /usr/local/lib/liblber-2.4.so.2: no version information available (required by /usr/lib/x86_64-linux-gnu/libcurl-gnutls.so.4)
remote: Enumerating objects: 220, done.

解决方式

$ sudo ln -fs /usr/lib/liblber-2.4.so.2 /usr/local/lib/ 
$ sudo ln -fs /usr/lib/libldap_r-2.4.so.2 /usr/local/lib/

你可能感兴趣的:(git clone 提示/libldap_r-2.4.so.2: no version information available...)