LoginSignup
9
7

More than 5 years have passed since last update.

Berkeley DB 4.8 インストール手順

Posted at

はじめに

Berkeley DB 4.8のインストールメモ。OSはCentOS6.5を使用。
$は一般ユーザ、#はrootユーザによる実行を表す。

作業手順

ファイルをダウンロード。2014年10月10日現在、ダウンロード可。

$ wget http://download.oracle.com/berkeley-db/db-4.8.30.tar.gz

ダウンロード後は解凍し、インストール。
prefixはmake installでのインストール先のため、任意で設定可。

$ tar zxvf db-4.8.30.tar.gz
$ cd db-4.8.30/dist
$ ./configure --prefix=/usr/local/
$ make
$ su
# make install

/usr/local/にインストールしたので、/usr/local/lib/を共有ライブラリの参照パスに設定する。

# echo "/usr/local/lib/" >> /etc/ld.so.conf
# ldconfig
9
7
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
9
7