sudo yum install tcl sudo yum install java-1.7.0-openjdk java-1.7.0-openjdk-devel sudo yum install sharutilsInstall Berkeley DB
wget http://download.oracle.com/berkeley-db/db-5.3.21.tar.gz tar zvxf db-5.3.21.tar.gz cd db-5.3.21/build_unix # configure the program ../dist/configure --prefix=/opt --enable-compat185 --enable-dbm --disable-static --enable-cxx make # install sudo make docdir=/usr/share/doc/db-5.3.21 install sudo chown -v -R root:root /usr/bin/db_* /usr/include/db{,_185,_cxx}.h /usr/lib/libdb*.{so,la} /usr/share/doc/db-5.3.21Questions:
when you run db_recover or other commands, you may encounter
"libdb-5.3.so: cannot open shared object file: No such file or directory"
Answer:sudo /sbin/ldconfig
No comments:
Post a Comment