libgcrypt-1.5.0

Introduction to libgcrypt

The libgcrypt package contains a general purpose crypto library based on the code used in GnuPG. The library provides a high level interface to cryptographic building blocks using an extendable and flexible API.

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

Package Information

libgcrypt Dependencies

Required

libgpg-error-1.10

Optional

Pth-2.0.7 and libcap2-2.22

User Notes: http://wiki.linuxfromscratch.org/blfs/wiki/libgcrypt

Installation of libgcrypt

Install libgcrypt by running the following commands:

./configure --prefix=/usr &&
make

Only info documentation is shipped in the package tarball. If you wish to build alternate formats of the documentation, (you must have TeX Live-20110705 installed to build the PDF and PostScript), then issue the following commands:

make -C doc pdf ps html &&
makeinfo --html --no-split -o doc/gcrypt_nochunks.html doc/gcrypt.texi &&
makeinfo --plaintext       -o doc/gcrypt.txt           doc/gcrypt.texi

To test the results, issue: make check.

Now, as the root user:

make install &&
install -v -m755 -d /usr/share/doc/libgcrypt-1.5.0 &&
install -v -m644    README doc/{README.apichanges,fips*,libgcrypt*} \
                    /usr/share/doc/libgcrypt-1.5.0

If you built the additional documentation, install it by issuing the following commands as the root user:

install -v -m755 -d /usr/share/doc/libgcrypt-1.5.0/html &&
install -v -m644 doc/gcrypt.html/* \
                    /usr/share/doc/libgcrypt-1.5.0/html &&
install -v -m644 doc/gcrypt_nochunks.html \
                    /usr/share/doc/libgcrypt-1.5.0 &&
install -v -m644 doc/gcrypt.{pdf,ps,dvi,txt,texi} \
                    /usr/share/doc/libgcrypt-1.5.0

Contents

Installed Programs: dumpsexp, hmac256 and libgcrypt-config
Installed Library: libgcrypt.{so,a}
Installed Directory: /usr/share/doc/libgcrypt-1.5.0

Short Descriptions

libgcrypt-config

is a utility used to configure and build applications based on the libgcrypt(3) 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 libgcrypt(3) library.

libgcrypt.{so,a}

contains the cryptographic API functions.

Last updated on 2011-12-05 22:58:00 +0000