cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: library version bump

From: Dan Fandrich <dan_at_coneharvesters.com>
Date: Thu, 22 May 2008 16:56:17 -0700

Daniel Stenbergwrote:
> The "revision" field (as the decription in lib/Makefile.am calls it) has now
> been bumped!

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.

>>> Dan

-- 
http://www.MoveAnnouncer.com              The web change of address service
          Let webmasters know that your web site has moved
Received on 2008-05-23