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

Tim Mooney mooney at dogbert.cc.ndsu.nodak.edu
Mon Jan 11 18:25:38 EST 2010


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

> Tim Mooney <mooney at dogbert.cc.ndsu.nodak.edu> writes:
>
>> How much pain would it cause developers if the SONAME was
>> libkadm5clnt-mit.so.<N> instead of libkadm5clnt.so.<N>_mit?
>
> The problem here is that it changes the name of the library that one
> specifies on the link line of programs, so anything that linked against
> the library would need to potentially change its build machinery, have
> code for detecting the new and old version, and so forth.

Understood.  However, linking is generally done against a symlink that
ends in .so, so there's no reason why the symlink name couldn't be

 	libkadm5clnt.so

(pointing to libkadm5clnt-mit.so.<N>).  Unless I misunderstood Sam's list
of Debian's requirements, it is OK to have just one of the two flavors of
library be link-able at a time.

The other potential way to help developers out is to make krb5-config or
some other helper file(s) (at the risk of being flamed, pkg-config comes
to mind) make it easier for developers to find the correct library name
to link to.

I don't think there are going to be any perfect solutions to this problem.

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