Skip to content
Search

Berkeley DB

lastmod 2020-12-20created 2014-01-1013 edits

Berkeley DB (BDB) is a software library that provides a high-performance embedded database for key/value data. Berkeley DB is written in C with API bindings for C++, C#, PHP, Java, Perl, Python, Ruby, Tcl, Smalltalk, and many other programming languages. BDB stores arbitrary key/data pairs as byte arrays, and supports multiple data items for a single key. Berkeley DB is not a relational database.

How To Compile

First, extracting the source archive produces the following file structure.

LICENSE       build_unix    build_windows examples      test
README        build_vxworks dist          lang          util
build_android build_wince   docs          src

Among the directories starting with build_~, move to the one matching the operating system you are compiling for. ex) For Unix, move to build_unix.
Then proceed with the usual configure-based compilation.

cd build_unix
../dist/configure
make
make install

See also

Favorite site

author Zer0 sitemap