Failed to load shared library 'libgd/libgd/libgd.so'
Hi.
When trying to run gnome-music 3.28.1 on OpenBSD current amd64 it fails with: Failed to load shared library 'libgd/libgd/libgd.so' referenced by the typelib: File not found
Basically g-ir-scanner parses the output of ldd to register shared-libs into the gir file. On my system, I have libgd installed (the graphical library, https://libgd.github.io/).
The output of ldd contains this: 00001aefb1776000 00001aefb19dd000 rlib 0 1 0 /usr/local/lib/libgd.so.22.0
Which confuses g-ir-scanner as it incorrectly matches on this line and ends up with a bogus shared-library value added to shlibs (more explanation about g-ir-scanner parsing can be found here: gobject-introspection#208 (closed)).
This issue is somewhat similar to: https://bugzilla.gnome.org/show_bug.cgi?id=795503