pkgsrc-Users archive

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

Re: devel/glib2 does not build



Greg Troxel <gdt%lexort.com@localhost> writes:

> Greg Troxel <gdt%lexort.com@localhost> writes:
>
>> /n0/gdt/NetBSD-current/pkgsrc/devel/glib2/work/glib-2.64.0/output/gio/glib-compile-resources
>> --target=gio/tests/plugin-resources.c
>> --sourcedir=/n0/gdt/NetBSD-current/pkgsrc/devel/glib2/work/glib-2.64.0/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.64.0/output/gio/glib-compile-resources
>>   Reason: image not found
>> ninja: build stopped: subcommand failed.
>> *** Error code 1
>
> Sorry, that's
>
>   pkgsrc head
>   macos 10.13
>   command line tools

After removing /opt/pkg/lib/libfoo-2.0.0.dylib and symlinking them to
the work directory, for foo in gio glib gnmodule gobject like this:

lrwxr-xr-x    1 root  wheel        72 Mar  7 15:44 libgio-2.0.0.dylib -> /opt/pkgsrc/devel/glib2/./work/glib-2.64.0/output/gio/libgio-2.0.0.dylib
lrwxr-xr-x    1 root  wheel        74 Mar  7 15:45 libglib-2.0.0.dylib -> /opt/pkgsrc/devel/glib2/./work/glib-2.64.0/output/glib/libglib-2.0.0.dylib
lrwxr-xr-x    1 root  wheel        80 Mar  7 15:46 libgmodule-2.0.0.dylib -> /opt/pkgsrc/devel/glib2/./work/glib-2.64.0/output/gmodule/libgmodule-2.0.0.dylib
lrwxr-xr-x    1 root  wheel        80 Mar  7 15:45 libgobject-2.0.0.dylib -> /opt/pkgsrc/devel/glib2/./work/glib-2.64.0/output/gobject/libgobject-2.0.0.dylib

the build is continuing. So it seems the update to 2.64 may have lost
some of the LD_LIBRARY_PATH magic.


Home | Main Index | Thread Index | Old Index