--- config/Make.rules.orig Fri Mar 9 00:16:54 2007 +++ config/Make.rules Fri Apr 13 20:05:04 2007 @@ -188,7 +188,9 @@ DB_FLAGS = -I/usr/include/db45 DB_LIBS = -L/usr/$(libsubdir)/db45 -ldb_cxx else - DB_LIBS = -ldb_cxx + DB_FLAGS = -I%%BDB_INCLUDE_DIR%% + DB_LIBS = -L%%BDB_LIB_DIR%% -l%%BDB_LIB_CXX_NAME%% + DB_RPATH_LINK = $(call rpathlink,%%BDB_LIB_DIR%%) endif endif