I recently switched to Nobara and I’m currently trying to get everything to work. I’ll be a bit spammy here looking for help, I hope that’s ok.
Today I would like to install my retail version of Unreal Tournament 2004 that came on a DVD.
I got the installer for the native Linux version to run and copied over the latest patch. But when I try to run the game i get
./ut2004-bin-linux-amd64: error while loading shared libraries: libstdc++.so.5: cannot open shared object file: No such file or directory
I tried to install libstdc++ through dnf and got
Package "libstdc++-15.1.1-2.fc42.x86_64" is already installed.
Package "libstdc++-15.1.1-2.fc42.i686" is already installed.
In /root/lib I habe a libstdc++.so.6
Does “.so.5” mean I need version 5. How do I get the version Unreal Tournament 2004 wants?
Or would it be easier to use the Windows version through Wine?
edit: managed to get the native version to run: https://feddit.org/post/15075302/7666396
With the help of this forum post and a bit of persistence I managed to get it to work and I wanted to share how with future generations and/or my future self.
First Problem: libstdc++.so.5
dnf does not have libstdc++5 but apt does.
Solution: I installed Mint on a Virtual Machine ran
sudo apt install libstdc++5
and then copied the library to my real machine into the system directory of UT2004. The game now starts. I know there must be a better way to solve this.Second Problem: Game starts in a tiny window stuck in the top left corner
Alt+Enter switches it to a real window that makes the game useable, but setting a proper resolution and trying to make it fullscreen again crashes the game.
Solution: Open /home/odin/.ut2004/System/UT2004.ini, go to the [SDLDrv.SDLClient] section and set all lines with viewport to the desired resolution.
Third Problem: No sound
UT2004 uses the obsolete OSS sound system.
Solution: Run the game under a compatibility wrapper. Debian and derivatives have aoss available. Fedora and derivatives have padsp. Thus run the game with
padsp "./ut2004-bin-linux-amd64"
and the sound works.