[gtkada] Shared libraries and sonames

Arnaud Charlet charlet at ACT-Europe.FR
Mon Dec 1 13:51:48 CET 2003


> Is this normal?  The soname is only supposed to change if the binary
> interface to the library changes.  Has this been the case with GtkAda?
> I used the same compiler (GNAT 3.15p, as it happens) for both 2.2.0
> and 2.2.1.

Yes, the two versions are not binary compatible. They are source compatible
however.

> Also, why does GtkAda not follow the naming convention on Unix systems
> (e.g. libgtkada.so.2.2.1)?

It does, the example you gave is just one possible instantiation of this
convention.

> The reason I'm asking is that I'm packaging GtkAda for Debian, and I
> would like to know if one version is binary-incompatible with the
> next.  If they are, I must make sure they can coexist in order not to
> break existing programs.  This in turn opens a big can of worms in
> packaging, and a big QA problem.

Good luck :-) The simplest solution is to rebuild all the packages that
depend on gtkada with 2.2.1.

Arno



More information about the gtkada mailing list