GnuPG 2.2.32 with libgcrypt 1.8.8

Bernhard Reiter bernhard at intevation.de
Tue Oct 26 09:37:47 CEST 2021


Am Montag 25 Oktober 2021 17:01:15 schrieb Martin:
> But after "make" and "make install" I see the the GnuPG 2.2.32 doesn't use
> libgcrypt 1.8.8 but 1.8.5 (which was installed by Ubuntu repository).

Maybe you need to modify the LD_LIBRARY_PATH accordingly.

(When self compiling I often create a small file like "setgnupg"
and source it in my shell to set all the path. Here is my file for the 
packages of Phil. For those LD_LIBRARY_PATH is not needed but this maybe 
different in your situation.)

more setgnupg /dev/null
::::::::::::::
setgnupg
::::::::::::::
base=/opt/gnupg

# from Phil Pennock and gnupg-devel:
# LD_LIBRARY_PATH is unneeded,
#   because the executables have the RPATH stamped into them.
#export LD_LIBRARY_PATH=$base/lib:$LD_LIBRARY_PATH

# You _shouldn't_ need to set MANPATH explicitly on any modern man(1)
# system, because they have facilities to translate $PATH to $MANPATH
# accordingly. 
#export MANPATH=$base/share/man:$MANPATH
export PATH=$base/bin:$PATH
export INFOPATH=$base/share/info:$INFOPATH
::::::::::::::

. setgnupg
gets me the new version as preferred binary.

Bernhard

-- 
www.intevation.de/~bernhard   +49 541 33 508 3-3
Intevation GmbH, Osnabrück, DE; Amtsgericht Osnabrück, HRB 18998
Geschäftsführer Frank Koormann, Bernhard Reiter, Dr. Jan-Oliver Wagner
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 659 bytes
Desc: This is a digitally signed message part.
URL: <https://lists.gnupg.org/pipermail/gnupg-users/attachments/20211026/f38c664f/attachment.sig>


More information about the Gnupg-users mailing list