From mboxrd@z Thu Jan 1 00:00:00 1970 From: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) Subject: Re: import pypi: undefined symbol __gmpn_cnd_sub_n Date: Wed, 25 Mar 2015 17:41:35 +0100 Message-ID: <87r3sdt4g0.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]:42676) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YaoNC-00062R-Qd for guix-devel@gnu.org; Wed, 25 Mar 2015 12:41:43 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YaoN8-0006MR-5N for guix-devel@gnu.org; Wed, 25 Mar 2015 12:41:42 -0400 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:59504) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YaoN8-0006ML-2N for guix-devel@gnu.org; Wed, 25 Mar 2015 12:41:38 -0400 In-Reply-To: ("Alexandre \=\?utf-8\?B\?SMOpYXVtw6kiJ3M\=\?\= message of "Wed, 25 Mar 2015 13:25:44 +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-bounces+gcggd-guix-devel=m.gmane.org@gnu.org To: Alexandre =?utf-8?B?SMOpYXVtw6k=?= Cc: guix-devel@gnu.org Alexandre H=C3=A9aum=C3=A9 skribis: > Running "guix import pypi" always produces the same error on my machine: > $ guix import pypi whatever > starting download of `/tmp/guix-file.=E2=80=A6' from > `https://pypi.python.org/pypi/whatever/json' > /usr/bin/guile: symbol lookup error: > /gnu/store/=E2=80=A6-nettle-2.7.1/lib/libhogweed.so.2: undefined symbol: > __gmpn_cnd_sub_n It=E2=80=99s unclear to me how libhogweed.so gets loaded (nothing here depe= nds 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 woul= d 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=E2=80=99s top-level build tree: ./pre-inst-env guile -c '(use-modules (json) (guix pk-crypto))' and report back? Thanks, Ludo=E2=80=99.