Page MenuHome GnuPG

make install does not configure/link installation for libgcrypt for gpg2
Closed, InvalidPublic

Description

Ubuntu 16.04.2 LTS, all tarballs installed from source
Not sure why this is caused,
an old version of libgcrypt was only found, even as I installed the newer
version from tarball and libgcrypt-config --version shows the correctly one.

Maybe the installation script could be updated therefore.

echo "/usr/local/lib" > /etc/ld.so.conf.d/gpg2.conf && ldconfig -v

works for me.
idea from https://gist.github.com/mattrude/3883a3801613b048d45b

Details

Version
2.1.19

Event Timeline

This is no a bug but a non-proper installation of libgcrypt. In fact the output
of libgcrypt's "make install" shows hints on how to finish the install; also
pointing to ldconfig.

In general it is not easy to install a newer version of a library on a system
which already has an older version of that library.