DLL vs Shared Library

Derek Broughton news at pointerstop.ca
Thu Mar 30 19:59:15 UTC 2006

Phillip Susi wrote:

> I think you misunderstood the argument.  It isn't that unused shared
> libs waste disk space, it is that it is nice to be able to simply copy a
> program from one machine to another and have it just work, as opposed to
> failing to load because one or more dependent libraries are not also
> installed, or because a bunch of registry entries are missing or
> something.  It is ease of use vs efficiency.

Right.  That was the argument - after all, all the _duplicated_ libraries
make for a lot more wasted space than a few unused shared libs lying
around.  Of course, it presupposes that you would actually need to copy the
whole app tree.  For very many cases, simply installing a .deb - without
any configuration - gives you everything you need.

fwiw, some time after I started using aptitude I did something like:
  aptitude markauto ~nlib*
and now I'm pretty sure I don't have unused libraries hanging around.

More information about the ubuntu-users mailing list