Error Installing gnupg-2.0.27 on Debian Squeeze

Daniel Kahn Gillmor dkg at fifthhorseman.net
Sun Mar 22 22:27:51 CET 2015


Hi Angel--

On Sat 2015-03-21 12:16:08 -0500, Angel Parrales wrote:
> Following instructions included in documentation, is not possible to
> complete installation,
> Last lines pasted below:
>
> make[3]: Entering directory
> `/home/adolfo/Downloads/gnupg-2.0.27/tests/openpgp'
> echo '#!/bin/sh' >./gpg_dearmor
> echo "../../g10/gpg2 --homedir . --no-options --no-greeting \
>              --no-secmem-warning --batch --dearmor" >>./gpg_dearmor
> chmod 755 ./gpg_dearmor
> ./gpg_dearmor > ./pubring.gpg < ./pubring.asc
> ../../g10/gpg2: error while loading shared libraries: libgcrypt.so.20:
> cannot open shared object file: No such file or directory
> make[3]: *** [pubring.gpg] Error 127
> make[3]: Leaving directory
> `/home/adolfo/Downloads/gnupg-2.0.27/tests/openpgp'
> make[2]: *** [all-recursive] Error 1
> make[2]: Leaving directory `/home/adolfo/Downloads/gnupg-2.0.27/tests'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory `/home/adolfo/Downloads/gnupg-2.0.27'
> make: *** [all] Error 2

it's looking for libgcrypt20, which is not available in squeeze.  Maybe
you've tried to build it pointing at the wrong libgcrypt?  squeeze
only has libgcrypt11, version 1.4.5.

what is the output of:

  dpkg -l 'libgcrypt*

It should show you a -dev package and a regular non-dev package as well,
most likely of libgcrypt11.

You'll either need to backport a new libgcrypt, or to point the compiler
(during ./configure time?)  toward the right libgcrypt-dev variant.

        --dkg



More information about the Gnupg-users mailing list