On 2008-08-12 14:41:29 +0100, Kostas Georgiou wrote:
> On Tue, Aug 12, 2008 at 07:38:15AM -0500, Martin Hicks wrote:
> 
> > 
> > On Mon, Aug 11, 2008 at 11:30:24PM +0200, Marcus Rueckert wrote:
> > > 
> > > this is not the package version. it is the soname mangled a bit. the
> > > base idea behind it is, that you can install multiple version of the
> > > same library in parallel.
> > 
> > Okay.  I guess I just don't see this very often.  Are we expecting to
> > break library compatibility often?
> 
> Even if you break library compatibility there is no need for the soname
> being encoded in the rpm name for the most current version. As it is now
> during an upgrade libganglia-$soname will stay installed even if nothing
> requires it anymore.

thats a matter of your package manager if it cleans up unused library
packages.

> The common practice in the rpm world is to not to use the soname for the
> latest version and have something like compat-ganglia-30 or libganglia30
> for example for the older versions (no need to encode the minor version
> since changes there don't break compatibility).

yeah and to get rid of compat-* we went to split out the libraries
consistently. the algorithm for the filename (as python code) is:

[[[
def libname_from_soname (soname):
    libname = string.split(soname, '.so.')
    if len(libname) == 2:
        if libname[0][-1:].isdigit():
            libname = string.join(libname, '-')
        else:
            libname = string.join(libname, '')
    else:
        libname = soname[:-3]
    libname = libname.replace('.', '_')
    return libname
]]]

so only the major version of your library will be used anyway.

-- 
           openSUSE - SUSE Linux is my linux
               openSUSE is good for you
                   www.opensuse.org

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Ganglia-developers mailing list
Ganglia-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ganglia-developers

Reply via email to