From mboxrd@z Thu Jan 1 00:00:00 1970 From: =?UTF-8?B?QWxleGFuZHJlIEjDqWF1bcOp?= Subject: Re: import pypi: undefined symbol __gmpn_cnd_sub_n Date: Wed, 25 Mar 2015 19:05:20 +0100 Message-ID: References: <87r3sdt4g0.fsf@gnu.org> 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]:37792) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Yapg9-00062u-Rb for guix-devel@gnu.org; Wed, 25 Mar 2015 14:05:27 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Yapg8-0006R9-QX for guix-devel@gnu.org; Wed, 25 Mar 2015 14:05:21 -0400 In-Reply-To: <87r3sdt4g0.fsf@gnu.org> 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-bounces+gcggd-guix-devel=m.gmane.org@gnu.org To: =?UTF-8?Q?Ludovic_Court=C3=A8s?= Cc: guix-devel@gnu.org Ludovic Court=C3=A8s wrote: > It=E2=80=99s unclear to me how libhogweed.so gets loaded (nothing here de= pends > on Nettle, AFAIK.) But it looks like the problem is that /usr/bin/guile > (which comes from the host distro) is trying to dlopen stuff that is > built with Guix. This usually won=E2=80=99t work notably because that wo= uld try > to load different copies of libc.so, libgmp.so, etc. Makes sense. The guile-gnutls package in ubuntu depends on libhogweed, so that's where it comes from. Is it possible that the guile-gnutls bindings from guix are chosen over the host bindings, or something along these lines? > If it does, could you run, from Guix=E2=80=99s top-level build tree: > > ./pre-inst-env guile -c '(use-modules (json) (guix pk-crypto))' Backtrace: In ice-9/boot-9.scm: 63: 19 [call-with-prompt prompt0 ...] In ice-9/eval.scm: 432: 18 [eval # #] In unknown file: ?: 17 [call-with-input-string "(use-modules (json) (guix pk-crypto))" ..= .] In ice-9/command-line.scm: 180: 16 [# #] In unknown file: ?: 15 [eval (use-modules # #) #] In ice-9/eval.scm: 505: 14 [# (use-modules #= #)] In ice-9/psyntax.scm: 1106: 13 [expand-top-sequence ((use-modules (json) (guix pk-crypto))) () ..= .] 989: 12 [scan ((use-modules (json) (guix pk-crypto))) () ...] 279: 11 [scan ((# #) #(syntax-object *unspecified* # #)) () (()) ...] In ice-9/boot-9.scm: 3597: 10 [process-use-modules (((json)) ((guix pk-crypto)))] 700: 9 [map # ((#) (#))] 3598: 8 [# (#)] 2864: 7 [resolve-interface (guix pk-crypto) #:select ...] 2789: 6 [# # ...] 3065: 5 [try-module-autoload (guix pk-crypto) #f] 2401: 4 [save-module-excursion #] 3085: 3 [#] In unknown file: ?: 2 [primitive-load-path "guix/pk-crypto" ...] In guix/pk-crypto.scm: 85: 1 [#] In unknown file: ?: 0 [dynamic-link "libgcrypt"] ERROR: In procedure dynamic-link: ERROR: In procedure dynamic-link: file: "libgcrypt", message: "file not fou= nd" Thanks, Alex