[Flac-dev] liboggflac1 soname

Henrique de Moraes Holschuh hmh at debian.org
Sun Jan 9 18:23:22 PST 2005


On Sun, 09 Jan 2005, Matt Zimmerman wrote:
> > Is the debian mismatch based on a release between these too? Should 
> > flac-1.1.1 release have been 2:1:0? In either case, it seems rebuilding 
> > all the packages against the 1.1.1 library should resolve the issue?

Well, if something built against 1.0.4 can (even in corner cases)
malfunction with 1.1.1, then yes, it must be 2:1:0.  This holds true to
the soname of the C++ libs too if changes on the underlying C libraries are
somehow exported through the C++ ones.

If stuff built against the old lib won't work with the new lib:
  increment soname and zero age ("backward incompatible change")

ELSE If stuff built against the new lib won't work with the old lib:
  increment both soname and age ("forward compatible change")

ELSE:
  leave the soname alone

Simpler said than done, I know :(

-- 
  "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


More information about the Flac-dev mailing list