[Insight-developers] Re: shared library versioning

Gaetan Lehmann gaetan.lehmann at jouy.inra.fr
Mon Apr 24 04:24:18 EDT 2006


On Mon, 24 Apr 2006 04:30:44 +0200, Steve M. Robbins  
<steven.robbins at videotron.ca> wrote:

> Hello,
>
> I wrote some time ago asking whether ITK could version its
> shared libraries.
>
> On Sun, Mar 05, 2006 at 01:47:34AM -0500, steve wrote:
>
>> Debian's policy mandates that shared libraries be properly versioned
>> with a shared object name (SONAME), which the ITK release currently
>> does not have.  The SONAME encodes a version number that is a
>> statement of binary compatibility.  From Debian's point of view,
>> therefore, it is much preferable if the ITK development team took care
>> of the SONAME.
>
>
> Since no-one argued to the contrary, I append a patch to the HEAD
> of ITK's cvs tree that sets VERSION and SOVERSION properties for
> each library.

first I forgot to agree with that change, as an rpm packager, when you  
post it some time ago, so I do it now :-)

>
> I followed VTK's model: the VERSION is set to MAJOR.MINOR.PATCH and
> the SOVERSION is set to MAJOR.MINOR.  This effectively assumes that
> ITK will not promise any compatibility when MAJOR or MINOR are
> changed, but *does* promise ABI compatibility for PATCH number change.
> Is this reasonable?
>

I think that's already what itk is doing

Gaetan

-- 
Gaëtan Lehmann
Biologie du Développement et de la Reproduction
INRA de Jouy-en-Josas (France)
tel: +33 1 34 65 29 66    fax: 01 34 65 29 09
http://voxel.jouy.inra.fr


More information about the Insight-developers mailing list