cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: library version bump

From: Joe N. <jnardone_at_gmail.com>
Date: Thu, 22 May 2008 20:12:19 -0400

> That's the one that should be increased for every release. I was thinking of
> the minor number to indicate that this release contains new exports.
>
> After a bit of experimentation, I've discovered that the mapping between
> the -version-info c:r:a numbers and the file name (on Linux, anyway)
> isn't direct; the SONAME version is actually calculated by c-a. That
> makes the libtool documentation make more sense; they're not actually
> advocating bumping the SONAME when interfaces are added--since the "a"
> value is also increased along with "c", c-a stays the same in this case.
>
> Following the libtool instructions gives a -version-info of 5:0:1.
> That results in a library name of libcurl.so.4.1.0 which makes sense
> for this release.
>
The net result should be that someone with an app built against the the
current version of the library should be able to build the new version
and run their app without recompilation. I *think* that's what the
result is of the above, but the end of the day is not the best time to
slog through GNU documentation. :)

joe
Received on 2008-05-23