gpg-error not detected when compiling libksba:

Jeffrey Walton noloader at gmail.com
Sun Apr 2 17:04:05 CEST 2023


On Sun, Apr 2, 2023 at 8:11 AM Pedro Andres Aranda Gutierrez via
Gnupg-devel <gnupg-devel at gnupg.org> wrote:
>
> I'm trying to compile libksba ad I get the following error:
>
> checking whether the visibility attribute is supported... no
> checking for gpg-error-config... no
> checking for gpgrt-config... /usr/local/bin/gpgrt-config
> checking for GPG Error - version >= 1.8... no
> configure: error: libgpg-error is needed.
>                 See ftp://ftp.gnupg.org/gcrypt/libgpg-error/ .
>
> Whoever, gpg-error is installed and I can find the .pc file:
>
> libksba-build ➤ ls /usr/local/lib/pkgconfig/*gpg*
>                                                git:master*
> /usr/local/lib/pkgconfig/gpg-error.pc
>
> libksba 1.6.2 and libgpg-error 1.46

Ensure pkg-config package is installed. Then, set PKG_CONFIG_PATH
before invoking configure.

Jeff



More information about the Gnupg-devel mailing list