Appimage does not launch on NixOS #97
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
I can see the old NixOS issue was not properly followed through with by the last reporter 2 years ago, so I will continue where they left off:
NixOS requires appimage-run to launch appimages in their correct environments, so the result of the command
MCPI_DEBUG=1 appimage-run ./minecraft-pi-reborn-client-2.5.3-amd64.AppImage
is attached below.The end line, unable to find libopenal, possibly indicates to me that libraries are staticall link to the libraries folder, which doesn't work with NixOS' store system.
On Debian the solution is
sudo apt install libopenal1
, but obviously Nix isn't Debian 😄However, this SE answer might help: https://unix.stackexchange.com/a/190736
Well this is odd, I've been able to force the
LD_LIBRARY_PATH
to acknowledge the path tolibopenal.so.1
, but now I'm getting a "wrong ELF class" error.As an additional note,
steam-run
also seems to add the correct libraries into theLD_LIBRARY_PATH
, which results in the samelibopenal.so.1: wrong ELF class: ELFCLASS32
error when runningsteam-run appimage-run minecraft-pi-reborn-client-2.5.3-amd64.AppImage
.I looked into this issue a little more and I think the version of openal nix reads from in say a
steam-run
only supports 64 bit and not 32 bit, hence the wrong ELF class. Seems hard to fix without NixOS intervention.file libopenal.so.1.23.1:
libopenal.so.1.23.1: ELF 64-bit LSB shared object, x86-64, version 1 (SYSV), dynamically linked, not stripped