Error after building gnupg head on Debian Buster at HEAD

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


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

Kyle Butt <kyle at> 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
> 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 for LD_LIBRARY_PATH.  Or, read this

    Program Library HOWTO:

Happy Hacking,

More information about the Gnupg-devel mailing list