[krbdev.mit.edu #3887] krb5-config lists too many libraries
Ken Raeburn via RT
rt-comment at krbdev.mit.edu
Thu Jun 15 19:20:55 EDT 2006
We should have krb5-config list as few libraries as possible, when
we're building and using shared libraries. (When we've built both
shared and static, then we need to know if the user is doing a
static-only link, which implies extra command-line arguments.)
In the 1.4 releases, krb5-config listed "-lkrb5support" in its output.
That means, despite it being an internal library that only our own
libraries, and to a limited extent our applications, should be relying
on, we're now stuck with libkrb5support.0 existence (but no public
functions) being part of our ABI on most UNIX platforms.
Not the Mac -- but Mac shared library major version numbers must have
positive values, so we're about to add a platform-specific major
version number. And if we don't fix krb5-config for the 1.5 final
release, libkrb5support.1 will be part of our ABI going forward on the
Mac.
Obviously, when we build static libraries only, we'll have to list all
the MIT-supplied and native libraries we need. But since static
builds don't work currently, I'm tempted to just go remove
-lkrb5support from krb5-config now to reduce the ABI lossage on the
Mac.
More information about the krb5-bugs
mailing list