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

Re: how to check for binary compability?



Jonas Meurer <jonas@freesources.org> writes:

> so only one question remains for me: do I need to bump the soname or at
> least provide a symbols file for added library symbols? or can I simply
> ignore them as well?

You should not bump the SONAME.  You should bump the shlibs dependency
(as generated by dh_makeshlibs if you're using debhelper) to the new
version of the package, though, since binaries built against the new
library might not work with the old library.

You could also provide a symbols file with appropriate version numbers
for when each symbol was introduced, but symbols files are optional (and
can be tricky with C++ since the symbol names can vary per architecture).

-- 
Russ Allbery (rra@debian.org)               <http://www.eyrie.org/~eagle/>


Reply to: