guix-devel
[Top][All Lists]
Advanced

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

Re: import pypi: undefined symbol __gmpn_cnd_sub_n


From: Alexandre Héaumé
Subject: Re: import pypi: undefined symbol __gmpn_cnd_sub_n
Date: Wed, 25 Mar 2015 19:05:20 +0100

Ludovic Courtès <address@hidden> wrote:

> It’s unclear to me how libhogweed.so gets loaded (nothing here depends
> 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’t work notably because that would 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’s 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 [#<procedure 860f8d0 at ice-9/command-line.scm:175:6 (port)>
#<input: string 84cbc30>]
In unknown file:
   ?: 15 [eval (use-modules # #) #<directory # 858e630>]
In ice-9/eval.scm:
 505: 14 [#<procedure 84fa440 at ice-9/eval.scm:499:4 (exp)> (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 #<procedure 85a9590 at ice-9/boot-9.scm:3597:25
(mif-args)> ((#) (#))]
3598: 8 [#<procedure 85a9590 at ice-9/boot-9.scm:3597:25 (mif-args)> (#)]
2864: 7 [resolve-interface (guix pk-crypto) #:select ...]
2789: 6 [#<procedure 85a1220 at ice-9/boot-9.scm:2777:4 (name
#:optional autoload version #:key ensure)> # ...]
3065: 5 [try-module-autoload (guix pk-crypto) #f]
2401: 4 [save-module-excursion #<procedure 84982e8 at
ice-9/boot-9.scm:3066:17 ()>]
3085: 3 [#<procedure 84982e8 at ice-9/boot-9.scm:3066:17 ()>]
In unknown file:
   ?: 2 [primitive-load-path "guix/pk-crypto" ...]
In guix/pk-crypto.scm:
  85: 1 [#<procedure 868f320 ()>]
In unknown file:
   ?: 0 [dynamic-link "libgcrypt"]

ERROR: In procedure dynamic-link:
ERROR: In procedure dynamic-link: file: "libgcrypt", message: "file not found"

Thanks,
Alex



reply via email to

[Prev in Thread] Current Thread [Next in Thread]