3 ms·
> Sure, but there might also be binaries outside the distro which link things statically, because makes distribution easier. Then you'd use ldd to print the sh
by throw0101c 4y ago
> Sure, but there might also be binaries outside the distro which link things statically, because makes distribution easier.
Then you'd use ldd to print the shared objects (shared libraries) required by each program or shared object: find … | xargs ldd.
> This is one of the "benefits" of go, where afaik many things are linked statically.
The static linking makes the situation worse: with dynamic link you update one package, and then restart any currently running processes. There are even helpful utilities to help you do the latter:
* https://packages.debian.org/search?keywords=needrestart https://packages.debian.org/search?keywords=needrestart
* https://packages.ubuntu.com/search?keywords=needrestart https://packages.ubuntu.com/search?keywords=needrestart
Every single binary that is statically linked needs to be recompiled.
- deleted 4y ago[deleted]
- jbverschoor 4y ago> Every single binary that is statically linked needs to be recompiled. Exactly my point