Build and install the LMDB embedded database
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
inc
lib/Alien
t
.gitignore
Build.PL
Changes
MANIFEST
MANIFEST.SKIP
README.pod

README.pod

NAME

Alien::LMDB - Build and install the LMDB embedded database

SYNOPSIS

my $lmdb = Alien::LMDB->new;

my $cflags = $lmdb->cflags;
## "-I/usr/local/share/perl/5.20.2/auto/share/dist/Alien-LMDB/include"

my $libs = $lmdb->libs;
## "-L/usr/local/share/perl/5.20.2/auto/share/dist/Alien-LMDB/lib -llmdb"

my $mdb_stat_binary = $lmdb->bin_dir . '/mdb_stat';
system("$mdb_stat_binary /path/to/db");

The above methods are inherited from Alien::Base.

If pkg-config --modversion lmdb works on your system, Alien::Base will attempt to use the system-installed lmdb. Otherwise it will use a bundled lmdb tarball.

DESCRIPTION

This module is primarily for use with LMDB_File.

SEE ALSO

Alien-LMDB github repo

LMDB_File

Official LMDB site

github mirror of LMDB repo

Alien::Base

AUTHOR

Doug Hoyte, <doug@hcsw.org>

COPYRIGHT & LICENSE

Copyright 2016 Doug Hoyte.

This module includes LMDB (formerly known as MDB) which is copyright 2011-2016 Howard Chu, Symas Corp.

LMDB is licensed under the OpenLDAP license.