运行初始化dtn2的数据库(Initializing the Database)命令时:
$ daemon/dtnd -c /home/fred/dtn/dtn.conf --init-db
出现如下错误:
deamon/dtn:error while loading shared libraries: libdb-5.3.so: cannot open shared object file: No such file or directory
解决办法:
ln -s /usr/local/BerkeleyDB.5.3/lib/libdb-5.3.so /usr/lib/libdb-5.3.so
引用:http://www.cnblogs.com/sunzy/archive/2012/04/13/2446234.html