From mboxrd@z Thu Jan 1 00:00:00 1970 From: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) Subject: Re: Installing manually built software in Guix Date: Fri, 07 Feb 2014 23:37:11 +0100 Message-ID: <878utmlfc8.fsf@gnu.org> References: <874n4apr7j.fsf@netris.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]:53439) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WBvBy-00066c-TE for guix-devel@gnu.org; Fri, 07 Feb 2014 18:50:48 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WBvBt-0004pU-Hd for guix-devel@gnu.org; Fri, 07 Feb 2014 18:50:42 -0500 Received: from hera.aquilenet.fr ([141.255.128.1]:60130) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WBvBt-0004pF-72 for guix-devel@gnu.org; Fri, 07 Feb 2014 18:50:37 -0500 In-Reply-To: <874n4apr7j.fsf@netris.org> (Mark H. Weaver's message of "Fri, 07 Feb 2014 16:07:12 -0500") 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: Mark H Weaver Cc: guix-devel@gnu.org Mark H Weaver skribis: > As a Guile developer, I'm in the habit of building Guile from git, and > occasionally installing that version with --prefix=3D/usr. > > As a Guix enthusiast, I've recently been experimenting with building > Guile from git, with my environment variables set to attempt to use only > things from Guix: I=E2=80=99ve been doing something similar. > I just tried "make install", as root, with these same environment > variable settings (but with HOME=3D/home/mhw). It failed in the middle. > Here's the tail of the log: > > make[2]: Entering directory `/home/mhw/guile/guile-readline' > make install-am > make[3]: Entering directory `/home/mhw/guile/guile-readline' > make[4]: Entering directory `/home/mhw/guile/guile-readline' > /home/mhw/.guix-profile/bin/mkdir -p '/usr/lib' > /bin/bash ../libtool --mode=3Dinstall /home/mhw/.guix-profile/bin/inst= all -c libguilereadline-v-18.la '/usr/lib' > libtool: install: warning: relinking `libguilereadline-v-18.la' > libtool: install: (cd /home/mhw/guile/guile-readline; /bin/bash /home/mhw= /guile/libtool --silent --tag CC --mode=3Drelink gcc -Wall -Wmissing-proto= types -Wdeclaration-after-statement -Wpointer-arith -Wswitch-enum -fno-stri= ct-aliasing -I/nix/store/a9j9bl7m73rhlal9z83z3wbl9m17di4i-libgc-7.4.0/inclu= de -g -O2 -version-info 18:0:0 -export-dynamic -no-undefined -o libguilerea= dline-v-18.la -rpath /usr/lib readline.lo -lreadline -lncurses ../libguile/= libguile-2.0.la ../lib/libgnu.la -lcrypt -lm ) > libtool: relink: warning: `/home/mhw/.guix-profile/lib/libunistring.la' s= eems to be moved > libtool: relink: warning: `/home/mhw/.guix-profile/lib/libgmp.la' seems t= o be moved > libtool: relink: warning: `/home/mhw/.guix-profile/lib/libltdl.la' seems = to be moved > /usr/lib/libgc.so: could not read symbols: File in wrong format > collect2: error: ld returned 1 exit status Here it=E2=80=99s trying to use the =E2=80=9Cwrong=E2=80=9D libgc, which is= itself possibly linked with a different libc. Can you try installing libgc from Guix, and make sure it=E2=80=99s the one that=E2=80=99s picked up when building Guile? HTH, Ludo=E2=80=99.