diff -ru Ice-3.4.0.orig/cpp/config/Make.rules Ice-3.4.0/cpp/config/Make.rules --- Ice-3.4.0.orig/cpp/config/Make.rules 2010-02-25 07:55:46.000000000 -0800 +++ Ice-3.4.0/cpp/config/Make.rules 2010-05-18 10:43:54.000000000 -0700 @@ -188,9 +188,9 @@ ICONV_LIBS = $(if $(ICONV_HOME),-L$(ICONV_HOME)/$(libsubdir)) $(ICONV_LIB) ifneq ($(DB_HOME),) - DB_FLAGS = -I$(DB_HOME)/include - DB_LIBS = -L$(DB_HOME)/$(libsubdir) -ldb_cxx - DB_RPATH_LINK = $(call rpathlink,$(DB_HOME)/$(libsubdir)) + DB_FLAGS = -I$(DB_HOME)/include/db46 + DB_LIBS = -L$(DB_HOME)/$(libsubdir)/db46 -ldb_cxx + DB_RPATH_LINK = $(call rpathlink,$(DB_HOME)/$(libsubdir)/db46) else ifeq ($(shell if [ -d /usr/include/db48 -a -d /usr/$(libsubdir)/db48 ] ; then echo yes; fi), yes) DB_FLAGS = -I/usr/include/db48