10.71. GDBM-1.13 64 Bit Libraries

The GDBM package contains the GNU Database Manager. This is a disk file format database which stores key/data-pairs in single files. The actual data of any record being stored is indexed by a unique key, which can be retrieved in less time than if it was stored in a text file.

10.71.1. Installation of GDBM

Prepare GDBM for compilation:

CC="gcc ${BUILD64}" \
./configure \
    --prefix=/usr \
    --enable-libgdbm-compat \
    --libdir=/usr/lib64

The meaning of the configure option:

--enable-libgdbm-compat

This switch enables the libgdbm compatibility library to be built, as some packages outside of CLFS may require the older DBM routines it provides.

Compile the package:

make

To test the results, issue:

make check

Install the package:

make install

10.71.2. Contents of GDBM

Installed programs: gdbm_dump, gdbm_load, gdbmtool
Installed libraries: libgdbm.{a,so}, libgdbm_compat.{a,so}

Short Descriptions

gdbm_dump

Dumps a GDBM database to a file.

gdbm_load

Recreates a GDBM database from a dump file.

gdbmtool

Tests and modifies a GDBM database

libgdbm

Contains functions to manipulate a hashed database

libgdbm_compat

Compatibility library containing older DBM functions