diff -ru Ice-3.5.0.orig/cpp/config/Make.rules Ice-3.5.0/cpp/config/Make.rules
--- Ice-3.5.0.orig/cpp/config/Make.rules	2013-03-11 08:19:48.000000000 -0700
+++ Ice-3.5.0/cpp/config/Make.rules	2013-03-11 21:37:08.888908977 -0700
@@ -219,11 +219,11 @@
 endif
 
 ifneq ($(DB_HOME),)
-    DB_FLAGS             = -I$(DB_HOME)/include
+    DB_FLAGS             = -I$(DB_HOME)/include/db46
     ifeq ($(DB_LIBS),)
-      DB_LIBS              = -L$(DB_HOME)/$(libsubdir)$(cpp11suffix) -ldb_cxx
+      DB_LIBS              = -L$(DB_HOME)/$(libsubdir)/db46$(cpp11suffix) -ldb_cxx
     endif
-    DB_RPATH_LINK        = $(call rpathlink,$(DB_HOME)/$(libsubdir)$(cpp11suffix))
+    DB_RPATH_LINK        = $(call rpathlink,$(DB_HOME)/$(libsubdir)/db46$(cpp11suffix))
 else
    ifeq ($(shell if [ -d /usr/include/db53 -a -d /usr/$(libsubdir)/db53 ] ; then echo yes; fi), yes)
       DB_FLAGS          = -I/usr/include/db53
