all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Marco van Hulten <marco@hulten.org>
To: Ricardo Wurmus <rekado@elephly.net>
Cc: Guix-Help <help-guix@gnu.org>
Subject: Re: libX11 not found after binary install of Guix
Date: Mon, 25 Feb 2019 11:37:19 +0100	[thread overview]
Message-ID: <20190225113719.616ea1d5@gfi063209.klientdrift.uib.no> (raw)
In-Reply-To: <87pnrj3cb9.fsf@elephly.net>

[-- Attachment #1: Type: text/plain, Size: 1856 bytes --]

Hi Ricado—

On 22 Feb 19:31 Ricardo Wurmus wrote:
> Marco van Hulten <marco@hulten.org> 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 #2: env.txt --]
[-- Type: text/plain, Size: 1900 bytes --]

LC_ALL=en_US.utf8
LANG=en_GB.utf8
HISTCONTROL=
LESS=-R
DISPLAY=:0
_SWM_PID=8118
FER_DSETS=/scratch/fer_dsets
EDITOR=vi
PLOTFONTS=/Home/siv29/mhu027/installed/ferret/ppl/fonts
XDG_VTNR=7
SSH_AUTH_SOCK=/tmp/ssh-2g3D9r9pYHlp/agent.2878
XDG_SESSION_ID=1
XTERM_SHELL=/bin/bash
USER=mhu027
PAGER=less
GUIX_LOCPATH=/Home/siv29/mhu027/.guix-profile/lib/locale
FER_GRIDS=/scratch/fer_dsets/grids
FER_DATA=. /Home/siv29/mhu027/ferret/complot/data /scratch/fer_dsets/data
PWD=/Home/siv29/mhu027/system/Guix
HOME=/Home/siv29/mhu027
SSH_AGENT_PID=2925
_SWM_WS=2
QT_ACCESSIBILITY=1
KRB5CCNAME=FILE:/tmp/krb5cc_96252_Bna6EJ
XDG_DATA_DIRS=/usr/local/share:/usr/share:/var/lib/snapd/desktop
FER_FONTS=/Home/siv29/mhu027/installed/ferret/ppl/fonts
FER_DESCR=/scratch/fer_dsets/descr
TMPDIR=/tmp
SWM_STARTED=YES
XTERM_VERSION=XTerm(330)
SAL_USE_VCLPLUGIN=gtk
GTK_MODULES=gail:atk-bridge
WINDOWPATH=7
TERM=xterm
SHELL=/bin/bash
GPG_AGENT_INFO=/run/user/96252/gnupg/S.gpg-agent:0:1
XDG_SEAT=seat0
SHLVL=2
LANGUAGE=en_US.UTF-8
MANPATH=:/opt/puppetlabs/puppet/share/man
WINDOWID=35651599
FER_DIR=/Home/siv29/mhu027/installed/ferret
XDG_CACHE_HOME=/var/cache/users/mhu027/.cache
LOGNAME=mhu027
DBUS_SESSION_BUS_ADDRESS=unix:path=/run/user/96252/bus
XDG_RUNTIME_DIR=/run/user/96252
FER_GO=/Home/siv29/mhu027/ferret/complot/scripts /Home/siv29/mhu027/installed/ferret/go /Home/siv29/mhu027/ferret/scripts_UiB
PATH=/home/mhu027/.guix-profile/bin:/home/mhu027/.config/guix/current/bin:/Home/siv29/mhu027/bin:/Home/siv29/mhu027/installed/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/opt/puppetlabs/bin
LD_PRELOAD=/usr/lib/spectrwm/libswmhack.so.0.0
FER_PALETTE=/Home/siv29/mhu027/ferret/complot/palettes /Home/siv29/mhu027/ferret/palettes /Home/siv29/mhu027/installed/ferret/ppl
XTERM_LOCALE=en_DK.UTF-8
GTK_IM_MODULE=xim
_=/usr/bin/env
OLDPWD=/Home/siv29/mhu027/system

      reply	other threads:[~2019-02-25 10:37 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-02-22 17:18 libX11 not found after binary install of Guix Marco van Hulten
2019-02-22 18:31 ` Ricardo Wurmus
2019-02-25 10:37   ` Marco van Hulten [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20190225113719.616ea1d5@gfi063209.klientdrift.uib.no \
    --to=marco@hulten.org \
    --cc=help-guix@gnu.org \
    --cc=rekado@elephly.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.