Alexandre Héaumé <[email protected]> skribis:

> Running "guix import pypi" always produces the same error on my machine:
> $ guix import pypi whatever
> starting download of `/tmp/guix-file.…' from
> `https://pypi.python.org/pypi/whatever/json'
> /usr/bin/guile: symbol lookup error:
> /gnu/store/…-nettle-2.7.1/lib/libhogweed.so.2: undefined symbol:
> __gmpn_cnd_sub_n

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.

Could you check if /usr/bin/guile actually works?  If it does, could you
run, from Guix’s top-level build tree:

  ./pre-inst-env guile -c '(use-modules (json) (guix pk-crypto))'

and report back?

Thanks,
Ludo’.

Reply via email to