help-guix
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: libX11 not found after binary install of Guix


From: Marco van Hulten
Subject: Re: libX11 not found after binary install of Guix
Date: Mon, 25 Feb 2019 11:37:19 +0100

Hi Ricado—

On 22 Feb 19:31 Ricardo Wurmus wrote:
> Marco van Hulten <address@hidden> writes:
> > 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-Installation.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 
> > object file: No such file or directory  
> 
> Bash shouldn’t 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 “env” perhaps?

It is attached.

When I removed the LD_PRELOAD variable, the problem disappeared.  It
appears that spectrwm(1) sets LD_PRELOAD.  It looks like that spectrwm
keeps on working fine when I override it in my .bashrc.

> > 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/libX11.so.6 -> libX11.so.6.3.0
> > -rw-r--r-- 1 root root 1277384 Aug 29 20:18 
> > /usr/lib/x86_64-linux-gnu/libX11.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]=46d02d32191b5470a70bf6710997bf89b8b8ae38, stripped  
> 
> This shouldn’t matter.  Guix will not use things that are on your system
> unless you force it (e.g. via LD_LIBRARY_PATH).

This variable was not set.

Thanks for your help!

—Marco

Attachment: env.txt
Description: Text document


reply via email to

[Prev in Thread] Current Thread [Next in Thread]