[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: Subversion library version numbers

From: Greg Hudson <ghudson_at_MIT.EDU>
Date: 2004-10-09 21:01:26 CEST

On Sat, 2004-10-09 at 13:29, Philip Martin wrote:
> $ objdump -p objdump -p libsvn_fs-1.so|grep SONAME
> SONAME libsvn_fs-1.so.0
>
> Is that .so.0 correct? Should it be .so.1?

If we are following http://apr.apache.org/versioning.html then we don't
use the libtool major version number, instead making our major version
part of the library name. (This way you can explicitly link against a
particular major version of the library.)

> Is libsvn_fs-1.so.0.0.0 correct? Should it be
> libsvn_fs-1.so.1.2.0?

If we are following the above-referenced document, then it should be
libsvn_fs-1.so.0.2.0. But I don't know if there's any particular value
in that, since the trailing ".2.0" isn't part of the soname.
In fact, it seems like it would be detrimental; if you install svn 1.0
and then install svn 1.1, you'd have leftover gunk from the 1.0
installation which isn't used by either the compile-time or run-time
linkers. (And you wouldn't have the corresponding headers to use those
old libraries either.)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Sat Oct 9 21:01:48 2004

This is an archived mail posted to the Subversion Dev mailing list.