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

Re: Headsup: ncurses soname bump 5 to 6



On Thu, 18 Sep 2008, Josselin Mouette wrote:
> Le mercredi 17 septembre 2008 à 19:52 -0500, Peter Samuelson a écrit :
> > [Josselin Mouette]
> > > Yes, but that could be worked around by making libncurses6 conflict with
> > > libncurses5 (<< version.with.symbols).
> > 
> > That only works if you rebuild everything that uses ncurses5 so the
> > symbol _users_ know they are supposed to require versions.
> 
> Yes, you need to rebuild everything and to bump shlibs.
> 
> >   (And, like
> > any proposal involving Debian-specific symbol versioning, it still
> > doesn't allow non-Debian binaries to run safely.)
> 
> If a non-Debian binary links to only libncurses.so.5, it will run
> safely, maybe with a warning. If it links to both libncurses.so.5 and
> another library that we have rebuilt against libncurses.so.6, it will
> fail.

... which is MUCH better than the kind of subtle bug you would get without
symbol versioning.

Still, if we can add the version scripts [in experimental!] and ship it
upstream ASAP so that ncurses gets such symbols at least for Linux right
away, that would be MUCH better.

-- 
  "One disk to rule them all, One disk to find them. One disk to bring
  them all and in the darkness grind them. In the Land of Redmond
  where the shadows lie." -- The Silicon Valley Tarot
  Henrique Holschuh


Reply to: