lmdb-0.9.24

#### Beyond Linux® From Scratch (systemd Edition) - Version 9.0

### Chapter 22. Databases

- Prev

  Berkeley DB-5.3.28

- Next

  MariaDB-10.4.7

- Up
- Home

# lmdb-0.9.24

## Introduction to lmdb

The lmdb package is a fast, compact, key-value embedded data store. It uses memory-mapped files, so it has the read performance of a pure in-memory database while still offering the persistence of standard disk-based databases, and is only limited to the size of the virtual address space

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

### Package Information

- Download (HTTP): https://github.com/LMDB/lmdb/archive/LMDB_0.9.24.tar.gz

- Download MD5 sum: c3e3474daf4a59685d154cc7fc5c99ad

- Download size: 144 KB

- Estimated disk space required: 5.9 MB

- Estimated build time: less than 0.1 SBU

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

## Installation of lmdb

### Note

This package extracts to lmdb-LMDB_0.9.24.

Install lmdb by running the following commands:

    cd libraries/liblmdb &&
    make                 &&
    sed -i 's| liblmdb.a||' Makefile

This package does not come with a test suite.

Now, as the `root` user:

    make prefix=/usr install

## Command Explanations

sed ... prefix ... Makefile: The Makefile creates the man pages directory during install if it is not present. This fixes the directory location.

sed ... liblmdb.a ... Makefile: The package executables use a static library so it must be created. This command suppresses installation of the static library.

## Contents

Installed Program: mdb_copy, mdb_dump, mdb_load, and mdb_stat
Installed Library: liblmdb.so
Installed Directories: None

Last updated on 2015-10-18 13:08:53 -0500

- Prev

  Berkeley DB-5.3.28

- Next

  MariaDB-10.4.7

- Up
- Home