From mboxrd@z Thu Jan 1 00:00:00 1970 From: Catonano Subject: Re: G-golf Date: Sun, 14 Jan 2018 21:36:59 +0100 Message-ID: References: <20180114122057.6316d606@capac> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="001a114f345c9b1f580562c27542" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:47037) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eap1Z-0000hS-TZ for guix-devel@gnu.org; Sun, 14 Jan 2018 15:37:02 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eap1Y-0004dM-NS for guix-devel@gnu.org; Sun, 14 Jan 2018 15:37:01 -0500 Received: from mail-yw0-x22e.google.com ([2607:f8b0:4002:c05::22e]:42428) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1eap1Y-0004d3-I4 for guix-devel@gnu.org; Sun, 14 Jan 2018 15:37:00 -0500 Received: by mail-yw0-x22e.google.com with SMTP id u17so2881638ywg.9 for ; Sun, 14 Jan 2018 12:37:00 -0800 (PST) In-Reply-To: <20180114122057.6316d606@capac> List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: "Guix-devel" To: David Pirotte Cc: guix-devel --001a114f345c9b1f580562c27542 Content-Type: text/plain; charset="UTF-8" 2018-01-14 15:20 GMT+01:00 David Pirotte : > 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 > > [ 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/ --001a114f345c9b1f580562c27542 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
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:

=C2=A0 =C2=A0 =C2=A0 =C2=A0 ldd <the-full-path-name-of-the-lib><= br>
=C2=A0 =C2=A0 =C2=A0 =C2=A0 [ and se what is missing... look for not found<= br>
If that is not enough, you can try to strace:

=C2=A0 =C2=A0 =C2=A0 =C2=A0 strace -o strace.out guile -c "(dynamic-li= nk "libgirepository-1.0"))"

HTH,
David


It's a bit late now, I'll be on this aga= in soon

For now, just a note:

libgirepository can be found a= t this path
/gnu/store/x48xr1hvrx2xbc8362bh6hi6c2000sj2-gobjec= t-introspection-1.52.1/lib/
--001a114f345c9b1f580562c27542--