Problem during compilation of gnupg-2.0.25

Bernhard Reiter bernhard at intevation.de
Thu Jul 31 10:43:32 CEST 2014


On Monday 28 July 2014 at 04:10:36, Robert Kong wrote:
> ../../g10/gpg2: error while loading shared libraries: libgcrypt.so.20:
> cannot open shared object file: No such file or directory

What does ldd on the ../../g10/gpg2 say?

And then check 
 ls -l
on the full paths of 
  /usr/local/lib/libgcrypt.so.20
  /usr/local/lib/libgcrypt.so.20.0.1
and the contents of LD_LIBRARYPATH

> ldconfig -v reports the following:
> ...
> /usr/local/lib:
>         libassuan.so.0 -> libassuan.so.0.4.1
>         libksba.so.8 -> libksba.so.8.11.1
>         libgpg-error.so.0 -> libgpg-error.so.0.11.0
>         libgcrypt.so.20 -> libgcrypt.so.20.0.1

-- 
www.intevation.de/~bernhard (CEO)    www.fsfe.org (Founding GA Member)
Intevation GmbH, Osnabrück, Germany; Amtsgericht Osnabrück, HRB 18998
Owned and run by Frank Koormann, Bernhard Reiter, Dr. Jan-Oliver Wagner
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 473 bytes
Desc: This is a digitally signed message part.
URL: </pipermail/attachments/20140731/3d1cf100/attachment.sig>


More information about the Gnupg-users mailing list