GNU bug report logs -
#54400
Emacs error in Ubuntu
Previous Next
Full log
View this message in rfc822 format
Hi Vicente,
Am Dienstag, dem 15.03.2022 um 17:09 +0100 schrieb Vicente Mataix
ferrandiz:
> Greetings,
>
> I follow the instructions from:
>
> https://guix.gnu.org/manual/en/guix.html#Binary-Installation
>
> Installation (Ubuntu 20.04):
>
> cd /tmp
> wget
> https://git.savannah.gnu.org/cgit/guix.git/plain/etc/guix-install.sh
> chmod +x guix-install.sh
> ./guix-install.sh
> guix install glibc-utf8-locales
> export GUIX_LOCPATH="$HOME/.guix-profile/lib/locale"
>
> Update:
>
> guix pull
>
> Install emacs:
>
> guix install emacs
>
> Load environment:
>
> GUIX_PROFILE="$HOME/.guix-profile"
> . "$GUIX_PROFILE/etc/profile"
>
> Run emacs:
>
> emacs
>
> /home/vmataixf/.guix-profile/bin/emacs: error while loading shared
> libraries: liblzma.so.5: cannot open shared object file: No such file
> or director
That is an interesting and surprisingly difficult to debug error you
have there. On Guix System, we have
--8<---------------cut here---------------start------------->8---
$ ldd $GUIX_ENVIRONMENT/bin/.emacs-27.2-real | grep lzma
liblzma.so.5 => /gnu/store/c8isj4jq6knv0icfgr43di6q3nvdzkx7-xz-5.2.5/lib/liblzma.so.5 (0x00007f7919fee000)
--8<---------------cut here---------------end--------------->8---
where xz is one of those magic libraries you'd expect to exist in any
distro. However,
--8<---------------cut here---------------start------------->8---
$ guix show emacs | recsel -p dependencies
dependencies: acl <at> 2.3.1 alsa-lib <at> 1.2.4 cairo <at> 1.16.0 coreutils <at> 8.32
+ dbus <at> 1.12.20 ghostscript <at> 9.54.0 giflib <at> 5.2.1 gmp <at> 6.2.1 gnutls <at> 3.7.2 gpm <at> 1.20.7
+ gtk+@3.24.30 gzip <at> 1.10 harfbuzz <at> 2.8.2 jansson <at> 2.13.1 libice <at> 1.0.10
+ libjpeg-turbo <at> 2.0.5 libotf <at> 0.9.16 libpng <at> 1.6.37 librsvg <at> 2.50.7 libsm <at> 1.2.3
+ libtiff <at> 4.3.0 libx11 <at> 1.7.3.1 libxft <at> 2.3.3 libxml2 <at> 2.9.12 libxpm <at> 3.5.13
+ m17n-lib <at> 1.8.0 mailutils <at> 3.14 ncurses <at> 6.2.20210619 pango <at> 1.48.10
+ pkg-config <at> 0.29.2 poppler <at> 21.07.0 texinfo <at> 6.7 zlib <at> 1.2.11
--8<---------------cut here---------------end--------------->8---
If at all, xz is included as implicit input to unpack Emacs! We should
probably add it as explicit input instead.
Cheers
This bug report was last modified 3 years and 4 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.