On Mon, Mar 20, 2023 at 12:46 PM Francesco Pretto <cez...@gmail.com> wrote:

> On Mon, 20 Mar 2023 at 11:50, Mattia Rizzolo <mat...@mapreri.org> wrote:
> > Potentially, if you use more than one number (especially the 2-number
> > variant) you can use that to identify versions that added symbols
> > without removing something else, therefore the ABI was "increased"
> > without breaking.
> > But OTOH that just doesn't really work decently from a program
> > perspective...
> >
> >
>
> This is one thing that I would like to investigate if it can benefit
> or not really. If there are two numbers, one specifying the ABI didn't
> break, and the second with the additions, eg. 1.10, still any program
> linking to a 2-number SO version 1.11 will refuse to load with 1.10,
> even if it didn't use anything new introduced in 1.11, correct?
>

>From what I know dynamic linker does not understand semver and it just
searches for equivalent names (probably both file name and soname). So in
this example you will probably also have symlink with version 1 and version
in soname set also to 1. And others will link to version 1 and not 1.11 or
1.10 so both would potentially load with any SO user. If something needs
new functions from 1.11 but there is 1.10 in the system it should probably
be resolved/updated by the package manager?



>
> _______________________________________________
> Podofo-users mailing list
> Podofo-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/podofo-users
>
_______________________________________________
Podofo-users mailing list
Podofo-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/podofo-users

Reply via email to