From mboxrd@z Thu Jan 1 00:00:00 1970 From: Catonano Subject: G-golf Date: Sun, 14 Jan 2018 15:02:09 +0100 Message-ID: Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="94eb2c1b0cfa90d89c0562bcf142" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:42939) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eairT-00038b-Mv for guix-devel@gnu.org; Sun, 14 Jan 2018 09:02:12 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eairS-0003zg-SB for guix-devel@gnu.org; Sun, 14 Jan 2018 09:02:11 -0500 Received: from mail-yb0-x232.google.com ([2607:f8b0:4002:c09::232]:39237) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1eairS-0003zE-Nw for guix-devel@gnu.org; Sun, 14 Jan 2018 09:02:10 -0500 Received: by mail-yb0-x232.google.com with SMTP id 65so4709450ybz.6 for ; Sun, 14 Jan 2018 06:02:10 -0800 (PST) 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: guix-devel --94eb2c1b0cfa90d89c0562bcf142 Content-Type: text/plain; charset="UTF-8" In G-golf ( https://git.savannah.gnu.org/cgit/g-golf.git ) in the g-golf/init.scm file, there's this line (define %libgirepository (dynamic-link "libgirepository-1.0")) and when running make, I get 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) --94eb2c1b0cfa90d89c0562bcf142 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
In G-golf ( https://git.savannah.gnu.org/cgit/g-golf.git ) in the <= br>
g-golf/init.scm

file, there's this line
(define %libgirepository (dynamic-link "libgirepository-1.0"))
and when running make, I get

In procedure dynamic-l= ink: file: "libgirepository-1.0", message: "file not found&q= uot;

but both Gobect-introspection and Glib are in the ad= -hoc environment
(they were found by configure)
--94eb2c1b0cfa90d89c0562bcf142-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: David Pirotte Subject: Re: G-golf Date: Sun, 14 Jan 2018 12:20:57 -0200 Message-ID: <20180114122057.6316d606@capac> References: Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; boundary="Sig_/yFs0W2g59NWcRLaVnzGrjgE"; protocol="application/pgp-signature" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:45303) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eaj9x-0007xe-NE for guix-devel@gnu.org; Sun, 14 Jan 2018 09:21:18 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eaj9s-0002lX-QJ for guix-devel@gnu.org; Sun, 14 Jan 2018 09:21:17 -0500 Received: from maximusconfessor.all2all.org ([79.99.200.102]:35853) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eaj9s-0002lF-JK for guix-devel@gnu.org; Sun, 14 Jan 2018 09:21:12 -0500 In-Reply-To: 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: Catonano Cc: guix-devel --Sig_/yFs0W2g59NWcRLaVnzGrjgE Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable 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 --Sig_/yFs0W2g59NWcRLaVnzGrjgE Content-Type: application/pgp-signature Content-Description: OpenPGP digital signature -----BEGIN PGP SIGNATURE----- iQEzBAEBCgAdFiEEhCJlRZtBM3furJHe83T9k6MFetcFAlpbZ0kACgkQ83T9k6MF etelDAgA0so7DfGSFSCQdkM0eLsfFJ8peGOKBG10hEh0hGpLIUrVc+opfJBZZl5e JDXpzLW4MqeylT2m0VdUub+8of7Hbr4PzN+vYoEyPCX/NaWbG5VFZ84m/YeNckUC dCOPbryuLGuTy/x/x0NEa/jhSClbVdOqFGSSAh9KnA6B3QG8c5DdPCIm8qOVOWfw 9irnVMCjkhKIzOrsNcN2IYpE68yPx5JMSXfrT+gmc/x+KS0/6zKKhDy4XipdeGxo k1C2EKN3rd46HK6E/5a2G1PZiQ4Fk2uOB98UErYPwhQPSPkt0BajHzYFfLyUA/D4 Y/9Jk3/qRXDDMd3NPyU4rAQiG1Kwfw== =22q9 -----END PGP SIGNATURE----- --Sig_/yFs0W2g59NWcRLaVnzGrjgE-- 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-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: David Pirotte Subject: Re: G-golf Date: Sun, 14 Jan 2018 20:23:47 -0200 Message-ID: <20180114202347.23cb413d@capac> References: <20180114122057.6316d606@capac> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; boundary="Sig_/qWQfJp3j2Mm/sMmtRVAb.My"; protocol="application/pgp-signature" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:34782) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eaqhE-0003LL-8B for guix-devel@gnu.org; Sun, 14 Jan 2018 17:24:09 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eaqhB-0000zq-1c for guix-devel@gnu.org; Sun, 14 Jan 2018 17:24:08 -0500 Received: from maximusconfessor.all2all.org ([79.99.200.102]:53523) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eaqhA-0000za-RB for guix-devel@gnu.org; Sun, 14 Jan 2018 17:24:04 -0500 In-Reply-To: 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: Catonano Cc: guix-devel --Sig_/qWQfJp3j2Mm/sMmtRVAb.My Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable > > > (define %libgirepository (dynamic-link "libgirepository-1.0")) =20 > > > In procedure dynamic-link: file: "libgirepository-1.0", message: "fil= e not =20 > > > found" =20 > > > but both Gobect-introspection and Glib are in the ad-hoc environment > > > (they were found by configure) =20 > > 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"))" > It's a bit late now, I'll be on this again soon Take your time, I just wanted (try) to help, but you have to understand tha= t it is a Guix related problem, or Guix user configuration problem, not a G-Golf prob= lem. And writing this I just remember Ludovic saying to someone recently that Gu= ix does not honor /etc/ld.so.conf, so you probably have to export LD_LIBRARY_PATH=3D David --Sig_/qWQfJp3j2Mm/sMmtRVAb.My Content-Type: application/pgp-signature Content-Description: OpenPGP digital signature -----BEGIN PGP SIGNATURE----- iQEzBAEBCgAdFiEEhCJlRZtBM3furJHe83T9k6MFetcFAlpb2HMACgkQ83T9k6MF etfHGwf+MN533ie7GYMZqjl3CVkqeKt5KltaYxE/tDWsNjhf9Evy63EcMLJEpsyk r4uIbtQ2K1xqAXMw3+3FeXaw0vWKqeSpDLZWtG/goh1IMn32N8Ym99EpV6rUnusl 1w6uekKEbSjWBMeGJXqWLwIZXsw6ttwHfWyTtsvDn1TLo03B2XigAO4aiwg3dXAQ 1a3KIQuPTHI8P8f3ve66eGNZR4WRiHX1Y7hdVU42fM1IYY0VrDj74zoaIsRxFPmi 8ppwCok4hf5tXrm1Ki8oigRysIFdGY8hf2xtOlaC6jyxH3sd2uTrjcCkRIuyHvIC KQfJli5sf7aKJvSoagICqBS9soLpew== =3YHb -----END PGP SIGNATURE----- --Sig_/qWQfJp3j2Mm/sMmtRVAb.My-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: Danny Milosavljevic Subject: Re: G-golf Date: Mon, 15 Jan 2018 08:21:21 +0100 Message-ID: <20180115082121.5afb13aa@scratchpost.org> References: <20180114122057.6316d606@capac> <20180114202347.23cb413d@capac> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:37137) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eaz5J-0007Od-3e for guix-devel@gnu.org; Mon, 15 Jan 2018 02:21:33 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eaz5E-0005nB-5C for guix-devel@gnu.org; Mon, 15 Jan 2018 02:21:33 -0500 Received: from dd26836.kasserver.com ([85.13.145.193]:44468) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1eaz5D-0005mn-UN for guix-devel@gnu.org; Mon, 15 Jan 2018 02:21:28 -0500 In-Reply-To: <20180114202347.23cb413d@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: Catonano Cc: guix-devel Hi, On Sun, 14 Jan 2018 20:23:47 -0200 David Pirotte wrote: > And writing this I just remember Ludovic saying to someone recently that Guix does > not honor /etc/ld.so.conf, so you probably have to > > export LD_LIBRARY_PATH= Yeah, so either wrap the script via calling "wrap-program" (which will do the above), or, better, make the Guix package substitute the literal shared library filenames (in dynamic-link) in the source file by the absolute paths. (Actually, wrap-program is often called automatically - for example by glib-or-gtk-build-system and python-build-system) From mboxrd@z Thu Jan 1 00:00:00 1970 From: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) Subject: Re: G-golf Date: Tue, 16 Jan 2018 12:19:45 +0100 Message-ID: <87shb66ofi.fsf@gnu.org> References: Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:54571) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ebPHV-0000Q3-3W for guix-devel@gnu.org; Tue, 16 Jan 2018 06:19:53 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ebPHP-0005aE-AA for guix-devel@gnu.org; Tue, 16 Jan 2018 06:19:53 -0500 Received: from hera.aquilenet.fr ([185.233.100.1]:39428) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1ebPHP-0005Zo-1c for guix-devel@gnu.org; Tue, 16 Jan 2018 06:19:47 -0500 In-Reply-To: (catonano@gmail.com's message of "Sun, 14 Jan 2018 15:02:09 +0100") 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: Catonano Cc: guix-devel Catonano skribis: > In G-golf ( https://git.savannah.gnu.org/cgit/g-golf.git ) in the > > g-golf/init.scm > > file, there's this line > > (define %libgirepository (dynamic-link "libgirepository-1.0")) If you=E2=80=99re writing a package for G-Golf, the solution is to substitu= te "libgirepository-1.0" with its absolute file name. There are several examples of that in (gnu packages guile). HTH! Ludo=E2=80=99.