Frédéric Fauberteau <triaxx%NetBSD.org@localhost> writes:
--generate-source --c-name _g_plugin ../gio/tests/test4.gresource.xml
dyld[3058]: Symbol not found: _g_string_free_and_steal
Referenced from: <3E235118-5F9B-386D-98CA-F631C6A6AB13>
/Users/ffaubert/pkgsrc/devel/glib2/work/glib-2.76.4/output/gio/glib-compile-resources
Expected in: <BE623799-5CD9-3C1C-87DE-7FB89D24C852>
/Users/ffaubert/pkg/lib/libglib-2.0.0.dylib
Abort trap
What happens if you uninstall the old glib2 before building? That
world is known for having build systems that, at least under pkgsrc,
link against installed libs in preference to the ones just built.
The error suggests that is what is happening.