Re: Standard homework around SONAMEs and library file names
On Tue, Dec 1, 2009 at 7:54 PM, Thibaut Paumard <firstname.lastname@example.org> wrote:
> Would the files then be: libfooN.so.debian1.0.0 with links
> libfooN.so.debian1 and libfooN.so?
> Here, N is not the API number (it's just part of the library name). And the
> API did change with the new upstream between version 1.x.y and 1.X. Several
> packages will FTBFS if the -dev package name doesn't change. Only 4 packages
> build-depend on this package, but many more depend on these 4.
> Although a little confusing, I would tend to introduce both an API number
> and an ABI number which, for the time being, match: debian1.
This whole mess could be avoided if upstream were to introduce proper
library API and ABI versioning. I strongly suggest you do the library
versioning upstream instead of just in Debian.