cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: New push punctions

From: Kamil Dudka <kdudka_at_redhat.com>
Date: Mon, 20 Jul 2015 17:27:51 +0200

On Monday 20 July 2015 16:44:48 Patrick Monnerat wrote:
> Cristian Morales Vega wrote:
> >> Since there are 2 new functions, should'nt the SONAME be bumped ?
> >
> > No. Programs using an old libcurl version will continue working with
>
> the latest version... so the soname stays the same.
>
> > If libcurl would use symbol versioning the way glibc does,
>
> curl_multi_setopt would get a new version, but that's it.
>
> I do not agree:
>
> Rule no 2 applies (lib/Makefile.am, line 96: if interfaces were added
> use C+1:0:A+1). So version info should be set as:
>
> if SONAME_BUMP
> VERSIONINFO=-version-info 9:0:4
> else
> VERSIONINFO=-version-info 8:0:4
> Endif
>
> This won't change the final SONAME on platforms which support what you
> described, because they use C-A for SONAME. But others (i.e.: iSeries)
> will bump (they use C alone).

What is the actual motivation to do so?

If applications and other libraries are built against the old version of
libcurl, will they have to be rebuilt to load the new version of libcurl
just because of the SONAME bump?

Kamil
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2015-07-20