Problem during compilation of gnupg-2.0.25

Robert Kong ryk5108 at gmail.com
Mon Jul 28 04:10:36 CEST 2014


Hi,

I am trying to compile gnupg-2.0.25 under Ubuntu 14.04 (amd64) and I am
experiencing an error: liggcrypt.so.20 not found.

Any help would be appreciated.

I have the following libs installed:
libgpg-error-1.13
libgcrypt-1.6.1
libksba-1.3.0
libassuan-2.1.1
pinentry-0.8.3

Thank you.

Regards,
Robert

for file in gnupg7.texi gpg.texi gpgsm.texi gpg-agent.texi scdaemon.texi
tools.texi ; do \
              ./yat2m -I . --release "GnuPG 2.0.25" --source "GNU Privacy
Guard" --store \
              `test -f '$file' || echo './'`$file ; done
yat2m: writing 'gnupg.7'
yat2m: writing 'gpg2.1'
yat2m: writing 'gpgsm.1'
yat2m: writing 'gpg-agent.1'
yat2m: writing 'scdaemon.1'
yat2m: writing 'watchgnupg.1'
yat2m: writing 'gpgv2.1'
yat2m: writing 'addgnupghome.8'
yat2m: writing 'gpgconf.1'
yat2m: writing 'applygnupgdefaults.8'
yat2m: writing 'gpgsm-gencert.sh.1'
yat2m: writing 'gpg-preset-passphrase.1'
yat2m: writing 'gpg-connect-agent.1'
yat2m: writing 'gpgparsemail.1'
yat2m: writing 'symcryptrun.1'
yat2m: writing 'gpg-zip.1'
mv -f yat2m-stamp.tmp yat2m-stamp
make[3]: Leaving directory `/home/robert/gnupg-2.0.25/doc'
make[2]: Leaving directory `/home/robert/gnupg-2.0.25/doc'
Making all in tests
make[2]: Entering directory `/home/robert/gnupg-2.0.25/tests'
Making all in openpgp
make[3]: Entering directory `/home/robert/gnupg-2.0.25/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/robert/gnupg-2.0.25/tests/openpgp'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/robert/gnupg-2.0.25/tests'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/robert/gnupg-2.0.25'
make: *** [all] Error 2

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
...
-------------- next part --------------
An HTML attachment was scrubbed...
URL: </pipermail/attachments/20140728/04240029/attachment.html>


More information about the Gnupg-users mailing list