[kwlug-disc] Xubuntu 22.04 to 24.04 Upgrade

Ronald Barnes ron at ronaldbarnes.ca
Tue Oct 8 16:34:08 EDT 2024


William Park via kwlug-disc wrote on 2024-10-08 13:19:

> What is wrong about static linking?  You know exactly what went into
> the binary.  Sometimes, you want that, no?
As with many things, it's got its pros and cons.


For dynamic linking, as I understand it:

Pros:
-----

A bug in a dependency can potentially be updated faster as the distro 
can push out updated libraries.

File sizes are smaller (but these days that's not significant).


Cons:
-----

Developers don't have bug reports from someone running a distro that has 
incompatible libraries (not the dev's problem).

Can't run different versions with different dependencies concurrently.



It was dynamic linking that (almost?) got us the xz-utils problem 
recently.  systemd was planning on statically linking xz-utils so the 
malware authors rushed out their patches while they still worked.



My 2¢



More information about the kwlug-disc mailing list