Re: Possible library versioning approach -- (evaluation requested)
> you can use 'explicit' soname:
> glibversion guileversion gwrap-glib-1-soname
> 1.2 1.4 1-glib1.2-guile1.4
> 1.2 1.6 1-glib1.2-guile1.6
> 2.0 1.4 1-glib2.0-guile1.4
> 2.0 1.6 1-glib2.0-guile1.6
>
> I am not sure this is the right solution, but this scale much better than using
> 1,2,3,4. and it will be easier to handle in the long run, and is
> self-explanatory. Also the soname is not mixed with the name.
>
If you are using libtool and automake, it would be:
LDFLAGS = ..... -release @OTHERLIB_NAMES@
and checking other sonames in configure time:
OTHERLIB_NAMES=whatever6-whateverelse3-whateverelse2
However, I don't know of a way to reliably check sonames in
configure scripts... but reading APT source, for
rc_LIBSTDCPP_VER, it seems to be possible.
regards,
junichi
Reply to: