Introduction to libgpg-error

The libgpg-error package contains a library that defines common error values for all GnuPG components.

This package is known to build and work properly using an LFS-9.0 platform.

Package Information

User Notes:

Installation of libgpg-error

First apply a sed to allow building with gawk-5.0:

sed -i 's/namespace/pkg_&/' src/Makefile.{am,in} src/mkstrtable.awk

Install libgpg-error by running the following commands:

./configure --prefix=/usr &&

To test the results, issue: make check.

Now, as the root user:

make install &&
install -v -m644 -D README /usr/share/doc/libgpg-error-1.36/README


Installed Programs: gpg-error, gpg-error-config, gpgrt-config, and yat2m
Installed Library:
Installed Directories: /usr/share/common-lisp/source/gpg-error, /usr/share/libgpg-error, and /usr/share/doc/libgpg-error-1.36

Short Descriptions


is used to determine libgpg-error error codes.


is a utility used to configure and build applications based on the libgpg-error library. It can be used to query the C compiler and linker flags which are required to correctly compile and link the application against the libgpg-error library.


is the same script as gpg-error-config.


extracts man pages from a Texinfo source.

contains the libgpg-error API functions.

Last updated on 2019-08-18 18:01:59 -0700