I am new to bazzite (and Fedora…). I just installed it and XCOM from steam (which has a linux native version) but it don’t start.
After launching it from console I get a
~/.steam/steam/steamapps/common/XCom-Enemy-Unknown$ ./XCOMLauncher
./XCOMLauncher: error while loading shared libraries: libSDL2_image-2.0.so.0: cannot open shared object file: No such file or directory
I don’t have XCom myself, but I would try the following:
Check if XCOMLauncher is a text file and if it is, see if it defines/updates the variable LD_LIBRARY_PATH. If that is the case, expand the LD_LIBRARY_PATH (in that script) so that it contains the location $HOME/.common/SteamLinuxRuntime_sniper/var/tmp-4Q0QN2/usr/lib/x86_64-linux-gnu/
Otherwise, you need to create a symlink to the 64bit library file at the right location. I guess the target location is either the folder ~/.steam/steam/steamapps/common/XCom-Enemy-Unknown or a subfolder of that folder. Let’s assume it is that folder:
cd ~/.steam/steam/steamapps/common/XCom-Enemy-Unknown
ln -s ~/.common/SteamLinuxRuntime_sniper/var/tmp-4Q0QN2/usr/lib/x86_64-linux-gnu/libSDL2_image-2.0.so.0 .