[Pkg-samba-maint] Renaming libsmbclient.so.0.1 to libsmbclient.so.0

Steve Langasek vorlon at debian.org
Thu Apr 17 05:43:19 UTC 2008


On Wed, Apr 16, 2008 at 09:26:02AM +0200, Christian Perrier wrote:
> Quoting Christian Perrier (bubulle at debian.org):
> > The smbclient library is currently incorrectly named
> > libsmbclient.so.0.1 while the SONAME of the library is
> > libsmbclient.so.0

> To make it clearer, after a discussion I had with Julien Cristau, this
> is not exactly "wrong"....just seems to be historical without any real
> mreasons to explain why ".1" or ".foo".

Correct -- it's not /wrong/, it's just gratuitous.  With glibc and binutils,
the only thing that matters is that you have a file whose name matches the
soname of the library that was linked against; so the only things that have
to exist are libsmbclient.so.0 (for runtime) and libsmbclient.so (for
build time).

So switching it to libsmbclient.so.0 is perfectly fine.

> > I'm not confident engouh in my skills about library to decide whether
> > a simple transition is enough of not (just changeing the file name and
> > voilà). Can someone enlighten me?

> Apparently, there would be no breakage. Karolin Seeger was telling me
> this morning that upstream is considering to update their Makefile so
> that the library is not installed as /usr/lib/libsmbclient.so

This would be a good idea.

> When it comes at this specific problem of naming it
> "libsmbclient.so.0" or "libsmbclient.so.0.1", I think we can have
> Sernet packages changed and ours not..:-)

The ".1" is meaningless unless upstream chooses to give it a meaning, and
update it in accordance with some established set of guidelines.

> (the Sernet packages are very likely to become the packages provided
> by upstream so we might better have the same behaviour in theirs and
> ours to minimize duplicate work)

Er, why is Sernet making Samba packages for Debian without communicating any
of their changes to the Debian Samba maintainers...?  Apparently they don't
mind duplicating work, so I don't see any reason we should change the Debian
packages just to conform to those.

-- 
Steve Langasek                   Give me a lever long enough and a Free OS
Debian Developer                   to set it on, and I can move the world.
Ubuntu Developer                                    http://www.debian.org/
slangasek at ubuntu.com                                     vorlon at debian.org



More information about the Pkg-samba-maint mailing list