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 Thu, Mar 27, 2008 at 02:20:11AM +0000, David Holland 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.

Thor


Home | Main Index | Thread Index | Old Index