How do I check which of a shared library dependencies aren't loaded?

for future use, the command that shows the error in question is

$ ldd -d filename
(long list of correct files, most of which are links, and then at the bottom:)
undefined symbol: gs_error_names (/usr/lib/graphviz/libgvplugin_gs.so.6)

2 Likes