Skip Menu |

To: krb5-bugs@MIT.EDU
Subject: broken configure test for dlopen
From: Ken Raeburn <raeburn@MIT.EDU>
Date: Fri, 30 Jun 2006 21:09:26 -0400
Currently we look for dlopen() in -ldl. We *don't* look to see if we
get dlopen without that library. So on a system without that library,
like Tru64 5.1, the plugin support (including all KDC-side database
access) will be broken.

The failure mode for not having a plugin system implemented is to
quietly not find any plugins, and let the caller deal (or fail to).
For example, from kdb5_util create:

create: Unable to find requested database type while creating database '/home/raeburn/krb5/krb5-1.5/alpha/Install/var/krb5kdc/principal'

From: Ken Raeburn <raeburn@MIT.EDU>
Subject: Re: [ #3971] broken configure test for dlopen
Date: Fri, 30 Jun 2006 21:35:59 -0400
Over Zephyr, Russ pointed me to AC_SEARCH_LIB, to use instead of
AC_CHECK_LIB. Look into it....
Cy Schubert confirms this is a problem for building on FreeBSD as well.
... and Dennis Davis, likewise, for OpenBSD.

When fixing this, we might also make this stop the configure or build process, on platforms
where we build KDC binaries that we know would be broken.
Subject: SVN Commit

Commit By: raeburn

Revision: 18331
Changed Files:
U trunk/src/aclocal.m4
Subject: SVN Commit
pull up r18331 from trunk

r18331@cathode-dark-space: raeburn | 2006-07-17 13:55:54 -0400
ticket: 3971
target_version: 1.5.1
tags: pullup


Commit By: tlyu

Revision: 18398
Changed Files:
_U branches/krb5-1-5/
U branches/krb5-1-5/src/aclocal.m4