Hi Ricado— On 22 Feb 19:31 Ricardo Wurmus wrote: > Marco van Hulten <[email protected]> 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
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
