[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-core-devel
Subject:    Re: adjusting lib version numbers
From:       David Faure <david () mandrakesoft ! com>
Date:       2001-07-01 17:47:07
[Download RAW message or body]

On Monday 25 June 2001 22:10, aleXXX wrote:
> On Saturday 23 June 2001 18:06, Waldo Bastian wrote:
> > On Saturday 23 June 2001 06:03 am, aleXXX wrote:
> > > Hi,
> > >
> > > finally I took the time and figured out how to get .so.3.2.0 and so.1.2.0
> > > version numbers for libs.
> > >
> > > I am willing to change the Makefile.am's in kdelibs accordingly (after
> > > the beta).
> > > I think most people agreed that libs with different functionality and
> > > versions should have different version numbers (just look at Qt or any
> > > other lib). We didn't change the lib number from 2.0 to 2.1, but better
> > > change it now than never.
> > >
> > > Does anybody object ?
> >
> > Yes, I do. Having version numbers suggests that mulpiple versions of the
> > same library can be used next to each other which is not the case. 
> 
> Having several versions of libkdeui.so.3.0.0 doesn't suggest that they all do 
> exactly the same ?
> I don't see the point.

Well, since I just had a bad experience related to this, let me relate it ;-)

You see, ONE library has changed version numbers between
2.1.2 and 2.2-beta1, it's libkssl... it has changed from 2.0.0 to 2.0.2
and it has given me headaches when trying to downgrade my KDE to 2.1.2... 
Both libs were installed and the .so symlink pointed to the 2.1.2 lib (libkssl.so.2.0.0), 
but the .so.2 symlink pointed to the 2.2.beta1 lib (libkssl.so.2.0.2) - don't
ask me why. And starting konqueror would give me an undefined symbol 
in kssl (KDialog::polish) because of that.
I had to investigate with 'nm' to find out what was happening (!).
It really makes life much easier if it's possible to upgrade or
downgrade KDE by simply "cvs upd <tag or date> ; make install",
without having to clean things up by hand in the installation dir.
Since it's _not_ possible to run two versions of the libs at once
anyway, it doesn't make sense to change the version numbers
(at least as long as we are in the 2.x series).

-- 
David FAURE, david@mandrakesoft.com, faure@kde.org
http://perso.mandrakesoft.com/~david/, http://www.konqueror.org/
KDE, Making The Future of Computing Available Today

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic