Hi all,

I want to get everyone's input on the topic of Static vs. Dynamic
linking of packages.

One of the problems I run in to at the moment on my mail server is
that I manually compile Postfix to take out MySQL and LDAP support
etc. The problem arises when the 'db' package is updated, which
Postfix is dynamically linked against. The db package gets upgraded,
then I have to go through the whole process of recompiling Postfix to
link against the new version.

Given that we're aiming for stability in our package sets, should we
consider static linking of packages?

Pros
- Packages don't need to be recompiled to link against upgrades in
other packages.
- Packages are more self-contained and less reliant on external packages.

Cons
- Larger packages, in terms of byte size. Larger on-disk requirements
(Is this really an issue with the size of disks and price of GB these
days?)
- Packages don't get benefits of security or performance etc updates
in packages it relies on until the package is rebuilt.

What is everyone's thoughts on this?

Cheers,
~p

Reply via email to