Install libgpg-error-dev by entering the following commands in the terminal:
sudo apt update sudo apt install libgpg-error-dev
Description:
library for common error values and messages in GnuPG components (development)
Library that defines common error values for all GnuPG components. Among these are GPG, GPGSM, GPGME, GPG-Agent, libgcrypt, pinentry, SmartCard Daemon and possibly more in the future. . This package contains the headers and other files needed to compile against this library.
Homepage: https://www.gnupg.org/related_software/libgpg-error/
Version: 1.27-6
Section: libdevel