--- ./src/configure.in_orig	2018-06-18 05:34:48 +0000
+++ ./src/configure.in	2018-06-18 05:37:02 +0000
@@ -1124,7 +1124,7 @@
 # it is linked again later.
 case $krb5_cv_host in
 *-*-aix*)
-	DB_EXTRA_LIBS=-ldb
+	DB_EXTRA_LIBS=-ldb6
 	;;
 *)
 	DB_EXTRA_LIBS=
--- ./src/configure_orig	2018-06-18 05:34:27 +0000
+++ ./src/configure	2018-06-18 05:36:39 +0000
@@ -5348,7 +5348,7 @@
   # libdb gets sucked into libkdb
   KDB5_DB_LIB=
   # needed for a couple of things that need libdb for its own sake
-  DB_LIB=-ldb
+  DB_LIB=-ldb6
 fi
 
 
@@ -12887,7 +12887,7 @@
 # it is linked again later.
 case $krb5_cv_host in
 *-*-aix*)
-	DB_EXTRA_LIBS=-ldb
+	DB_EXTRA_LIBS=-ldb6
 	;;
 *)
 	DB_EXTRA_LIBS=
