2018-01-14 15:20 GMT+01:00 David Pirotte <david@altosw.be>:
Hi,

> (define %libgirepository (dynamic-link "libgirepository-1.0"))

> In procedure dynamic-link: file: "libgirepository-1.0", message: "file not
> found"

> but both Gobect-introspection and Glib are in the ad-hoc environment
> (they were found by configure)

You can try to run ldd:

        ldd <the-full-path-name-of-the-lib>

        [ and se what is missing... look for not found

If that is not enough, you can try to strace:

        strace -o strace.out guile -c "(dynamic-link "libgirepository-1.0"))"

HTH,
David


It's a bit late now, I'll be on this again soon

For now, just a note:

libgirepository can be found at this path
/gnu/store/x48xr1hvrx2xbc8362bh6hi6c2000sj2-gobject-introspection-1.52.1/lib/