I know this forum isn’t specifically focused on Linux-related issues, but if anyone here plays X4 on Linux and could help me, I’d greatly appreciate it!
I’m encountering an issue while trying to set up and launch X4: Foundations (Non-Steam version) on my Linux system. Here’s the situation:
Setup: I’m running X4: Foundations (Non-Steam) on Linux Mint. The game executable (X4_nonsteam) is located in the following directory:
Code: Select all
/home/XXXXX/.steam/debian-installation/steamapps/common/X4 Foundations/
If I navigate to the folder and double-click the X4_nonsteam file, the game launches perfectly.
However, when I try to execute the command directly in the terminal:
Code: Select all
/home/XXXXX/.steam/debian-installation/steamapps/common/X4\ Foundations/X4_nonsteam
Code: Select all
/home/XXXXX/.steam/debian-installation/steamapps/common/X4 Foundations/X4_nonsteam: error while loading shared libraries: libluajit-5.1.so.2: cannot open shared object file: No such file or directory
I’ve verified that the library libluajit-5.1.so.2 is not currently installed on my system.
I’ve also tried setting up a .desktop shortcut in ~/.local/share/applications with the following configuration:
Code: Select all
[Desktop Entry]
Name=X4 No Steam
Comment=Play this game without Steam
Exec=/home/XXXXX/.steam/debian-installation/steamapps/common/X4\ Foundations/X4_nonsteam
Icon=steam_icon_392160
Terminal=false
Type=Application
Categories=Game;
Name[en_US]=X4 No Steam
What I’ve Tried:
Installing the missing library (libluajit-5.1) via my package manager:
sudo apt install libluajit-5.1-2
However, the problem persists.
Has anyone encountered this library-related issue when running the Non-Steam version of X4 on Linux? Any advice on how to resolve the missing library issue and properly configure the game or desktop shortcut would be greatly appreciated.
Thanks in advance!