On Tue, Oct 11, 2005 at 12:32:16PM +0300, Lars Wirzenius wrote:

> The following symlinks are left on the filesystem after the package is
> installed and then purged (as by piuparts). I couldn't see why, though
> that is probably because I still don't understand shared libraries
> properly.

> 0m5.7s ERROR: Package purging left files on system:
>   /lib/libnss_winbind.so
>   /lib/libnss_wins.so

This is due to us shipping files in /lib which have an SONAME, but not
shipping the symlink that matches that soname.

$ objdump -p /lib/libnss_winbind.so.2 |grep SONAME
  SONAME      libnss_winbind.so
$ objdump -p /lib/libnss_wins.so.2 |grep SONAME
  SONAME      libnss_wins.so
$

As a result, the symlinks are created when ldconfig runs, but are never
removed.

This could be fixed by shipping these symlinks in the package, but I believe
it would be better to simply fix the soname in the libs (or remove it
entirely).

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.
[EMAIL PROTECTED]                                   http://www.debian.org/

Attachment: signature.asc
Description: Digital signature

Reply via email to