Re: [Gábor Gombás] Bug#564566: libkadm5clnt7: SONAME conflict with Heimdal

Tim Mooney mooney at dogbert.cc.ndsu.nodak.edu
Tue Jan 12 18:08:30 EST 2010


In regard to: Re: [Gábor Gombás] Bug#564566:	libkadm5clnt7: SONAME conflict...:

> I suppose it would be OK to have libkadm5clnt-mit.so, with libkadm5clnt.so
> being a symlink.  In fact, one could even decide that the latter is
> controlled by alternatives, on a Debian-like platform.

That's pretty much what I was thinking when I suggested it.

Note that there's no reason why there couldn't *also* (always) be a
symlink named

 	libkadm5clnt-mit.so

that points to the versioned library.  That might ease things for
developers -- if they know they need the MIT flavor of the library, they
look specifically for libkadm5clnt-mit.so, otherwise they link with
whatever the libkadm5clnt.so is on their platform, and it's the sysadmin
that chooses (via something like alternatives) which flavor is the
default.

If there ever is a pkg-config file or krb5-config is extended to help
developers answer the question "how do I link with the MIT libkadm5clnt
library", it should output the libkadm5clnt-mit.so symlink, not the
"generic" one that might point to the Heimdal flavor.

>  It just seems like
> it would be wrong to not have the name corresponding to the unversioned
> soname.

I don't disagree, it just seems like it may be the lesser evil.

Tim
-- 
Tim Mooney                                  mooney at dogbert.cc.ndsu.NoDak.edu
Enterprise Computing & Infrastructure       701-231-1076 (Voice)
Room 242-J6, IACC Building                  701-231-8541 (Fax)
North Dakota State University, Fargo, ND 58105-5164


More information about the krbdev mailing list