pkgsrc-Users archive

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

Re: gobject-introspection fails on macOS 10.13



This happens because a library is used for a binary run during the
build. At this time lib still contains the wrong rpath. The build
process fixes this up on install of the lib, but that is too late.

I overcame this by some manual intervention using install_name_tool.
Keep meaning to create patches for meson to handle this automagically.

Jaromir

Le ven. 13 mars 2020 à 15:10, Jason Bacon <outpaddling%yahoo.com@localhost> a écrit :
>
> On 2020-03-12 12:10, Greg Troxel wrote:
> > (I think this may be the usual LD_LIBRARY_PATH vs meson vs mac issue.)
> >
> > FAILED: tests/GIMarshallingTests-1.0.typelib
> > /n0/gdt/NetBSD-current/pkgsrc/devel/gobject-introspection/work/gobject-introspection-1.64.0/output/tools/g-ir-compiler -o tests/GIMarshallingTests-1.0.typelib tests/GIMarshallingTests-1.0.gir --includedir /n0/gdt/NetBSD-current/pkgsrc/devel/gobject-introspection/work/gobject-introspection-1.64.0/output/gir --includedir /n0/gdt/NetBSD-current/pkgsrc/devel/gobject-introspection/work/gobject-introspection-1.64.0/output/tests
> > dyld: Library not loaded: @rpath/libgirepository-1.0.1.dylib
> >    Referenced from: /n0/gdt/NetBSD-current/pkgsrc/devel/gobject-introspection/work/gobject-introspection-1.64.0/output/tools/g-ir-compiler
> >    Reason: image not found
> > ninja: build stopped: subcommand failed.
> > *** Error code 1
> Seeing the same problem here.


Home | Main Index | Thread Index | Old Index