Shared libraries
Shared libraries
Posted Nov 24, 2025 18:48 UTC (Mon) by hunger (subscriber, #36242)In reply to: Shared libraries by ballombe
Parent article: APT Rust requirement raises questions
Does it? Yes, it works most of the time, but that is by luck and not by design.
The headers used to build some binary contain lots of code that gets backed into the binary (e.g. all templates). If any of those get changed by the next version of the library, then you can spent fun times debugging crashes as suddenly the code baked into the binary from the old version fails to use some symbol backed into the new library.
There is a reason why most distros rebuild binaries when the dependencies change.
Yes, rust could do the same. Rust has a different culture so it won't.
