Sub-library version numbers

Allan Sandfeld Jensen snowwolf at one2one-networks.com
Fri Jun 7 10:12:58 BST 2002


On Friday 07 June 2002 03:14, Dirk Mueller wrote:
> On Don, 06 Jun 2002, aleXXX wrote:
> > I don't think that it is a good thing that I can have three libraries
> > named libkdeui.3.0.0, libkdeui.3.0.0 and libkdeui.3.0.0 and that I can't
> > simply exchange one with the other, since e.g. 3.0.0 from 2.0 doesn't
> > provide all the features 3.0.0 from 2.2 provides.
> >
> > Another advantage of the version numbers would be that this would make it
> > much easier to find out which version of KDE is installed, especially in
> > the case if something is messed up and KDE or X don't even start.
>
> You do know that you can't have two libs with the same major version number
> installed at the same time anyway ?
>
Of cause you can. In case both are on the same level in the library-search the 
one with the highest number is chosen (or the one so.$majornumber is linked 
to). Since libraries with the same major number are supposed to be backwards 
compatible this is not a problem. 

> not changing the .so-name is taking care of this problem, although in a
> brutal way. However, it seems somehow effective still.
>
What problem?





More information about the kde-core-devel mailing list