|
|
|
|
|
by jbverschoor
1330 days ago
|
|
Sure, but there might also be binaries outside the distro which link things statically, because makes distribution easier. This is one of the "benefits" of go, where afaik many things are linked statically. I'm currently playing around with grepping some function-names to find out if something uses libssl, and then check if ldd to see if libssl is loaded dynamically or not. |
|
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.ubuntu.com/search?keywords=needrestart
Every single binary that is statically linked needs to be recompiled.