Shared libraries
Shared libraries
Posted Nov 25, 2025 15:18 UTC (Tue) by farnz (subscriber, #17727)In reply to: Shared libraries by paulj
Parent article: APT Rust requirement raises questions
Oh yes - both ways round are possible.
Note that the distro is quite capable of using the dependency information it already has (BuildRequires and the like) to rebuild statically linked binaries - dynamically linked versus statically linked is more about how much automated work has to be done to get you a fixed version in place, rather than about which is "more secure".
And I don't believe anyone has done the study to determine which is actually more secure in practice - static linked executables, with unused parts of libraries turned off, or dynamically linked executables sharing a library with more used components. Once you allow for things like time to determine that an update is needed, it's quite a complex space to think about, and (like so much in computing), we're more going on "what feels right" than on hard data.
