[Kommander-devel] Versioning of libs

Michal Rudolf mrudolf at kdewebdev.org
Sun Mar 6 22:16:48 EST 2005


Andras Mantia,  niedziela, 6 marca 2005 21:39:

> If Kommander relies on shared libraries installed in $KDEDIR/lib, it
>should set a version number to the libraries and increment that version
>whenever some incompatible change is introduced,
Er, how do I know that incompatible change was introduced?

>so it avoids crashes like KommanderFactory::loadPlugins - Can't load 
Kommander plugin library libkommanderwidgets
> KCrash: Application 'kmdr-executor' crashing...
>And of course, it's better if it does not crash if it cannot load the
>plugin library...
>I don't have much experience with such libraries requiring version
>numbers, but here is an example from KIO, how to set a version number:

>libkio_la_LDFLAGS = -version-info 6:0:2 -no-undefined $(all_libraries)
>$(KDE_MT_LDFLAGS)
>
>How the 6:0:2 becomes 4.2.0 is beyond me.
>Ok, read info:/libtool, mainly the Release numbers and Updating version
>info sections.
I will do my best.

Any libtool expert here? ;-)
-- 
Michal Rudolf


More information about the Kommander-devel mailing list