Skip to content

Berkeley DB

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

우선, 소스파일의 압축을 풀면 아래와 같은 파일 구조가 나타난다.

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

build_~로 시작되는 디렉토리중 컴파일할 운영체제에 맞춰, 해당 디렉토리에 이동한다. ex) 유닉일 경우 build_unix로 이동한다.
그 후 일반적으로 configure를 사용한 컴파일 방법을 진행하면 된다.

cd build_unix
../dist/configure
make
make install

See also

Favorite site