How to use PROPERTIES VERSION and SOVERSION?

Pau Garcia i Quiles pgquiles at elpauer.org
Tue Apr 15 01:35:30 CEST 2008


Quoting Dirk Mueller <mueller at kde.org>:

> On Friday 11 April 2008, Thiago Macieira wrote:
>
>> > Yet GENERIC_LIB_SOVERSION is just set to "4". I miss something,
>> > obviously.
>> ELF doesn't support that. It should support two numbers: the minimum
>> version and the current. That is, kdelibs 4.1 is backwards compatible with
>> 4.0; Qt 4.4 is backwards compatible with 4.0 as well (including all
>> in-between).
>
> Of course it does support that. It is called symbol versioning. It is quite a
> lot of manual maintenance overhead, and quite difficult to do for C++
> (because it is hard to predict the mangled name). You'd need a good tool for
> that. I don't know one.

There's more information about that in this article:
http://people.redhat.com/drepper/dsohowto.pdf

-- 
Pau Garcia i Quiles
http://www.elpauer.org
(Due to my workload, I may need 10 days to answer)



More information about the Kde-buildsystem mailing list