Index: configure
--- configure.orig	2007-03-12 20:19:03 +0100
+++ configure	2007-03-13 08:08:33 +0100
@@ -15935,7 +15935,7 @@
                         rb_cv_dlopen=yes ;;
 	esix*|uxpds*) 	: ${LDSHARED="ld -G"}
 			rb_cv_dlopen=yes ;;
-	osf*) 		: ${LDSHARED="ld -shared -expect_unresolved \"*\""}
+	osf*) 		: ${LDSHARED="ld -shared -expect_unresolved \"*\" -oldstyle_liblookup"}
 			rb_cv_dlopen=yes ;;
 	bsdi3*) 	case "$CC" in
 			*shlicc*)	: ${LDSHARED="$CC -r"}
Index: ext/dbm/extconf.rb
--- ext/dbm/extconf.rb.orig	2007-02-13 00:01:19 +0100
+++ ext/dbm/extconf.rb	2007-03-13 08:11:50 +0100
@@ -5,7 +5,7 @@
 if dblib = with_config("dbm-type", nil)
   dblib = dblib.split(/[ ,]+/)
 else
-  dblib = %w(db db2 db1 dbm gdbm gdbm_compat qdbm)
+  dblib = %w(dbm db2 db1 db gdbm gdbm_compat qdbm)
 end
 
 headers = {
