[krbdev.mit.edu #3887] krb5-config lists too many libraries

Ken Raeburn via RT rt-comment at krbdev.mit.edu
Thu Jun 15 20:44:49 EDT 2006


I've patched around this issue for 1.5, but we should fix it better.  In
particular:

Distinguish shared-library linking from static-library linking.  (If we
only built one kind of library, assume that.  If we built both, we
should add a command-line option, or just go with shared libraries.)

For static libraries, list all needed libraries.

For shared libraries, list only the minimal set required, on platforms
with dependencies recorded in libraries such that the OS will
automatically load the others.

Or, make a conscious decision that we've already lost this battle and
we're stuck with the set of names we've advertised already, including
the libkrb5support.1/0 hack, so we'll just keep stuffing them in every
Kerberos-using executable.



More information about the krb5-bugs mailing list