Unable to find requested database type

Dennis Davis D.H.Davis at bath.ac.uk
Wed Jul 19 10:26:01 EDT 2006


On Mon, 17 Jul 2006, Ken Raeburn wrote:

> From: Ken Raeburn <raeburn at mit.edu>
> To: Dennis Davis <D.H.Davis at bath.ac.uk>
> Cc: kerberos at mit.edu
> Date: Mon, 17 Jul 2006 09:06:32 -0400
> Subject: Re: Unable to find requested database type
> 
> On Jul 17, 2006, at 05:51, Dennis Davis wrote:
> > As a Quick'N'Dirty fix, can I just alter the above to:
> > 
> > #define USE_DLOPEN 1
> > 
> > after the configuration and just before the build?
> 
> I haven't tried it, but I think so, yes.

This was a nice idea, but it didn't work.  The build of krb5-1.5
seems to reconstruct src/include/autoconf.h at least once, right at
the start of the build.  So it ovewrites the above Quick'N'Dirty fix.

As an even Quicker'N'Dirtier fix I altered src/include/autoconf.h.in
to set:

#define USE_DLOPEN 1

as the default:

--- src/include/autoconf.h.in.orig      Sat Jul  1 06:10:18 2006
+++ src/include/autoconf.h.in   Mon Jul 17 15:58:12 2006
@@ -651,7 +651,7 @@
 #undef USE_DIRENT_H
 
 /* Define if dlopen should be used */
-#undef USE_DLOPEN
+#define USE_DLOPEN 1
 
 /* Define if link-time options for library finalization will be used */
 #undef USE_LINKER_FINI_OPTION

and that works great.  I've now got a test krb5-1.5 server built
with shared libraries running on OpenBSD3.9.  Haven't tested it
much, but it will give me ticket-granting tickets.  And that's
always a good sign :-)
-- 
Dennis Davis, BUCS, University of Bath, Bath, BA2 7AY, UK
D.H.Davis at bath.ac.uk               Phone: +44 1225 386101



More information about the Kerberos mailing list