From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ricardo Wurmus Subject: Re: libX11 not found after binary install of Guix Date: Fri, 22 Feb 2019 19:31:06 +0100 Message-ID: <87pnrj3cb9.fsf@elephly.net> References: <20190222181842.19c515bd@gfi063209.klientdrift.uib.no> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([209.51.188.92]:41101) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gxFbu-0000n7-4H for help-guix@gnu.org; Fri, 22 Feb 2019 13:31:46 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gxFbq-0005tQ-NC for help-guix@gnu.org; Fri, 22 Feb 2019 13:31:44 -0500 Received: from sender-of-o51.zoho.com ([135.84.80.216]:21140) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1gxFbp-0005e9-MN for help-guix@gnu.org; Fri, 22 Feb 2019 13:31:42 -0500 In-reply-to: <20190222181842.19c515bd@gfi063209.klientdrift.uib.no> List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-guix-bounces+gcggh-help-guix=m.gmane.org@gnu.org Sender: "Help-Guix" To: Marco van Hulten Cc: Guix-Help Marco van Hulten writes: > Hi all=E2=80=94 > > On a freshly installed Ubuntu 18.04 I installed Guix following the > instructions on, except for the fact that I did it from grml in a > chroot(8)ed environment > > https://www.gnu.org/software/guix/manual/en/html_node/Binary-Installa= tion.html > > Rebooting into Ubuntu I was happy to find that guix-daemon was running. > Then I tried install something: > > $ guix package -i hello > /gnu/store/q19l04vd2za80mk1845pz7r8cz29qk43-bash-minimal-4.4.23/bin/bash:= error while loading shared libraries: libX11.so.6: cannot open shared obje= ct file: No such file or directory Bash shouldn=E2=80=99t want to load libX11.so.6. I wonder what prints this line. Is your bashrc telling the shell to load extra libraries? Could you share the output of =E2=80=9Cenv=E2=80=9D perhaps? > At least on the host system it exists: > > $ ls -l $(locate libX11.so.6) > lrwxrwxrwx 1 root root 15 Aug 29 20:18 /usr/lib/x86_64-linux-gnu/lib= X11.so.6 -> libX11.so.6.3.0 > -rw-r--r-- 1 root root 1277384 Aug 29 20:18 /usr/lib/x86_64-linux-gnu/lib= X11.so.6.3.0 > $ file /usr/lib/x86_64-linux-gnu/libX11.so.6.3.0 > /usr/lib/x86_64-linux-gnu/libX11.so.6.3.0: ELF 64-bit LSB shared object, = x86-64, version 1 (SYSV), dynamically linked, BuildID[sha1]=3D46d02d32191b5= 470a70bf6710997bf89b8b8ae38, stripped This shouldn=E2=80=99t matter. Guix will not use things that are on your s= ystem unless you force it (e.g. via LD_LIBRARY_PATH). --=20 Ricardo