Berkeley DB 5.3.21: (May 11, 2012)

  printf("%s",db_version(0,0,0));

 

-------------------------------------------

  1. 下载并解压db-5.3.28.NC.tar.gz

  2. cd build_unix

  3. ../dist/configure

  4. make && make install

  5. echo /usr/local/BerkeleyDB.5.3/lib >> /etc/ld.so.conf  #配置系统动态链接库

  6. ldconfig  #使5的配置生效