pkgsrc-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: devel/glib2 test failure on Darwin



On 8/21/23 09:20, Greg Troxel wrote:
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.

I've seen this in a few other FreeBSD ports and pkgsrc packages, and in some cases added a pre-build check to error out if installed libs are present. This saves me and others from wasting time on repeat diagnoses.

Home | Main Index | Thread Index | Old Index