In the light of a new shared library it looks reasonable to start checking shared library symbols.
During testing this PR, it was pointed that libbitcoinconsensus.so
has “a ton of unnecessary symbols being exported”. Fortunately, it could be fixed in #24994.
Therefore, it makes sense to draft this PR until #24994 is merged.
Guix builds on x86_64
: