Bug#331634: Bug#339253: patch for planned NMU

Steve Langasek vorlon at debian.org
Sat Dec 3 00:39:28 UTC 2005


On Sat, Dec 03, 2005 at 12:29:21AM +0100, Jose Carlos Garcia Sogo wrote:
> El jue, 01-12-2005 a las 15:38 -0800, Steve Langasek escribió:
> [...]

> > I've also had to make one further tweak to debian/rules, because
> > /usr/lib/libpt.so.1 and /usr/lib/libpt.so.1.8 were being installed into the
> > lib package again instead of the -dev package, where there's no reason to
> > install them at all.  So now they're really gone.

>  About this, I am sure we were doing that for a reason, but I cannot
> remember which one it was right now. Perhaps Kilian has a better memory
> than me.

It's much more likely that this was done without fully thinking out how
those files will be used.  When linking, only the .so file is used; at
runtime, only the file which matches the SONAME that was linked against is
used.  If these files are symlinks, then any files needed to resolve these
links to real files must *also* be included in the package.  But other
symlinks *to* these files serve no purpose.

so if the soname was libpt.so.1, you would need 

libpt.so.1 -> libpt.so.1.8.7
libpt.so.1.8.7

in the lib package.  If it was libpt.so.1.8, you would need

libpt.so.1.8 -> libpt.so.1.8.7
libpt.so.1.8.7

But since libpt.so.1.8.7 is the soname, and that file isn't a symlink,
everything else except the .so link is extraneous.

Cheers,
-- 
Steve Langasek                   Give me a lever long enough and a Free OS
Debian Developer                   to set it on, and I can move the world.
vorlon at debian.org                                   http://www.debian.org/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : http://lists.alioth.debian.org/pipermail/pkg-voip-maintainers/attachments/20051202/7c06eee2/attachment.pgp


More information about the Pkg-voip-maintainers mailing list