[GRASS5] Re: [bug #2968] (grass) Re: [Pkg-grass-general] Please use libtool soname versioning
Markus Neteler
neteler at itc.it
Mon Feb 7 16:28:20 EST 2005
On Mon, Feb 07, 2005 at 09:21:31PM +0100, Glynn Clements via RT wrote:
>
> Request Tracker wrote:
>
> > this bug's URL: http://intevation.de/rt/webrt?serial_num=2968
>
> > > If using libtool isn't palatable,
> > > can we at least adopt the versioning scheme beginning at libgrass0.0.0?
> >
> > Maybe yes. This should be discussed on the GRASS developers list (note
> > that the bug report communication is automatically forwarded to the list).
>
> Implementing soname versioning (at least for Linux) is simple enough;
> just add:
>
> -Wl,-soname,$(SONAME)
>
> to the linking command for building shared libraries, where $(SONAME)
> is the library name, e.g.:
>
> SONAME = $(SHLIB_PREFIX)$(SHLIB_NAME)$(SHLIB_SUFFIX).$(SHLIB_VERSION)
Is it reasonable to change it for the final release (may be a requirement
for Debian)?
> [SHLIB_VERSION would need to be defined in any Makefile which includes
> Lib.make.]
>
> The main problem is ensuring that developers actually increment the
> version whenever they make an incompatible change (otherwise there is
> no point in having versioning).
This should not be a big issue (just awareness needed).
Thanks for the suggestion
Markus
More information about the grass-dev
mailing list