Error after building gnupg head on Debian Buster at HEAD

NIIBE Yutaka gniibe at fsij.org
Tue Apr 3 02:25:27 CEST 2018


Hello,

New libassuan has new symbol (assuan_sock_set_system_hooks) whch is not
available in old libassuan.

Kyle Butt <kyle at iteratee.net> wrote:
> This is the error that I'm getting:
>
> agent/gpg-agent: relocation error: agent/gpg-agent: symbol
> assuan_sock_set_system_hooks version LIBASSUAN_1.0 not defined in file
> libassuan.so.0 with link time reference
>
> the libassuan is built from source and installed in prefix=$HOME

... but you didn't configure to use the library.  The library loaded by
agent/gpg-agent is the one of the system (old one), not the one you
installed, I suppose.

When you install shared libraries to some place where system is not
configured to load them, you need to set LD_LIBRARY_PATH.

Please see the manual of ld.so(8) for LD_LIBRARY_PATH.  Or, read this
section:

    Program Library HOWTO:
    http://tldp.org/HOWTO/Program-Library-HOWTO/shared-libraries.html#AEN80

Happy Hacking,
-- 



More information about the Gnupg-devel mailing list