tech-userlevel archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: obsoleting shlibs - what's the plan



On Wed, Mar 26, 2008 at 10:39:14PM -0400, Thor Lancelot Simon wrote:
 > > In practice, you can in some circumstances end up with multiple major
 > > versions of the same lib loaded at once, and with standard ELF that
 > > pretty much inevitably results in nasal demons.
 > > 
 > > This is what can happen:
 > > 
 > > Starting point:
 > > 
 > >    app uses libwowiezowie.so.1
 > >    app uses libkrb5.so.20
 > >    libwowiezowie.so.1 uses libkrb5.so.20
 > > 
 > > This works. But now suppose I recompile libwowiezowie:
 > > 
 > >    app uses libwowiezowie.so.1
 > 
 > This cannot happen with our in-tree shared libraries, because we always
 > bump the major number of any dependent library when bumping the major
 > number of any library it depends upon.
 > 
 > Or, so I think, anyway.  We certainly have tried hard to prevent this
 > situation for a long time.

Right. But libs in packages? (I suppose I should have stated that
bit up front...)

-- 
David A. Holland
dholland%netbsd.org@localhost


Home | Main Index | Thread Index | Old Index