Libassuan API V2 vs V3 and pinentry

Lukas | GPGTools lukele at gpgtools.org
Mon Dec 16 14:05:41 CET 2024


Hi all,

when trying to build pinentry and linking it against the latest libassuan 3.0.1 configure shows the warning:
---
checking LIBASSUAN API version... does not match.  want=2 got=3.
—

and later fails with the error:
—
*** You need libassuan to build this program.
*** This library is for example available at
***   ftp://ftp.gnupg.org/gcrypt/libassuan/
*** (at least version 2.1.0 (API 2) is required).
—

I’ve manually patched the configure file to have it accept v3.x and from a few quick tests it appears that everything is working as expected.
But I wanted to make sure and ask if API 3 is backwards compatible and as such I should not run into issues or if it works rather by chance and if I’ll see side-effects in the future.

Thanks & cheers

Lukas 


More information about the Gnupg-devel mailing list