pkgsrc-Users archive

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

Re: glib2 fails on macos 10.13



Thomas Klausner <tk%giga.or.at@localhost> writes:

> On Thu, Jan 16, 2020 at 07:03:04PM -0500, Greg Troxel wrote:
>> It appears that it is not linking to the not-yet-installed library that
>> was built. Is anyone else seeing this?
>> 
>> 
>>   [632/1024] Compiling C object 'gio/tests/bcb7ac7@@resourceplugin@sha/resourceplugin.c.o'.
>>   [633/1024] Generating plugin-resources.c with a custom command.
>>   FAILED: gio/tests/plugin-resources.c 
>>   /n0/gdt/NetBSD-current/pkgsrc/devel/glib2/work/glib-2.62.3/output/gio/glib-compile-resources --target=gio/tests/plugin-resources.c --sourcedir=/n0/gdt/NetBSD-current/pkgsrc/de
>>   vel/glib2/work/glib-2.62.3/gio/tests --generate-source --c-name _g_plugin ../gio/tests/test4.gresource.xml
>>   dyld: Library not loaded: @rpath/libgio-2.0.0.dylib
>>     Referenced from: /n0/gdt/NetBSD-current/pkgsrc/devel/glib2/work/glib-2.62.3/output/gio/glib-compile-resources
>>     Reason: Incompatible library version: glib-compile-resources requires version 6201.0.0 or later, but libgio-2.0.0.dylib provides version 6001.0.0
>>   ninja: build stopped: subcommand failed.
>>   *** Error code 1
>> 
>
> Do you have glib2 installed? It looks like it finds another version
> than the one it probably just built.

I do, but on another 10.13 machine I got a different error about not
found instead of wrong version.  Sorry for not including that.

I think the real problem is failing to link to the not-yet-installed
version, and there are two symptoms.



Home | Main Index | Thread Index | Old Index