db-5.1.29/docs/installation/build_unix.html#build_unix_intro
に記載されている通りですが、次のようにして、colinux環境にintallしています
$ wget http://download.oracle.com/berkeley-db/db-5.1.29.tar.gz $ tar -zxvf db-5.1.29.tar.gz $ cd db-5.1.29/build_unix $ ../dist/configure --prefix=/usr/local/BerkeleyDB.5.1 $ make $ su # make install
Berkeley DBの最新はver.6.2ですが、openldap-2.4.38/README に以下のようにあった為、5.1をインストールしています。
SLAPD:
BDB and HDB backends require Oracle Berkeley DB 4.4 - 4.8,
or 5.0 - 5.1. It is highly recommended to apply the
patches from Oracle for a given release.