[2497] in Kerberos-V5-bugs

home help back first fref pref prev next nref lref last post

krb5-admin/229: libkadm5srv links against libdb, which is not shared

daemon@ATHENA.MIT.EDU (hartmans@MIT.EDU)
Fri Nov 22 19:21:17 1996

Resent-From: gnats@rt-11.MIT.EDU (GNATS Management)
Resent-To: bjaspan@MIT.EDU
Resent-Reply-To: krb5-bugs@MIT.EDU, hartmans@MIT.EDU
Date: Fri, 22 Nov 1996 08:38:36 -0500
From: hartmans@MIT.EDU
Reply-To: hartmans@MIT.EDU
To: krb5-bugs@MIT.EDU
Cc: mycroft@MIT.EDU


>Number:         229
>Category:       krb5-admin
>Synopsis:       libkadm5srv links against libdb, which is not shared
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    bjaspan
>State:          open
>Class:          sw-bug
>Submitter-Id:   unknown
>Arrival-Date:   Fri Nov 22 19:21:01 EST 1996
>Last-Modified:
>Originator:     Sam Hartman
>Organization:
mit
>Release:        1.0-development
>Environment:
	
	This is noticed on all NetBSD ports with shared libs;
it may be a bigger problem on other platforms.



>Description:

	In lib/kadm5/srv/Makefile.in, LIBS
includes -ldb.  This is wrong because:

1) I'm not convinced libs should ever get set in a Makefile.

2) libdb is not shared, and cannot be linked against libkadm5srv on
anything besides AIX.  Apparently, this is not strictly true, as the
code has worked.


	
>How-To-Repeat:
	
>Fix:
	

	This may create a serious problem on some platforms.  It is a
violation of the build process as well, as far as I can tell.  I'll
fix and check in, building on as many platforms with shared libs as I
can find.
>Audit-Trail:
>Unformatted:
libkadmsrv links against libdb, which is never shared


home help back first fref pref prev next nref lref last post