unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: "Alexandre Héaumé" <aheaume@gmail.com>
To: "Ludovic Courtès" <ludo@gnu.org>
Cc: guix-devel@gnu.org
Subject: Re: import pypi: undefined symbol __gmpn_cnd_sub_n
Date: Wed, 25 Mar 2015 19:05:20 +0100	[thread overview]
Message-ID: <CACAVtXEbvwpFfBaP==j6j5AHEEv+B8LG1vFeEuabWHc-ecpv_g@mail.gmail.com> (raw)
In-Reply-To: <87r3sdt4g0.fsf@gnu.org>

Ludovic Courtès <ludo@gnu.org> 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	other threads:[~2015-03-25 18:05 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-03-25 12:25 import pypi: undefined symbol __gmpn_cnd_sub_n Alexandre Héaumé
2015-03-25 16:41 ` Ludovic Courtès
2015-03-25 18:05   ` Alexandre Héaumé [this message]
2015-03-25 20:42     ` Ludovic Courtès
2015-03-25 22:22       ` Alexandre Héaumé
2015-03-26 12:35         ` Ludovic Courtès
2015-03-27 18:54           ` Mark H Weaver

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CACAVtXEbvwpFfBaP==j6j5AHEEv+B8LG1vFeEuabWHc-ecpv_g@mail.gmail.com' \
    --to=aheaume@gmail.com \
    --cc=guix-devel@gnu.org \
    --cc=ludo@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).