I’m having issues starting a game through Steam. The error I get is:
ERROR: ld.so: object '/home/games/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
running ldd on the executable that starts the game suggests that some libraries are missing (I’ve omitted the ones that were found):
libX11.so.6 => not found
libGLU.so.1 => not found
libGL.so.1 => not found
libstdc++.so.6 => not found
libz.so.1 => not found
libuuid.so.1 => not found
libstdc++.so.6 => not found
So I created ~/.config/nixpkgs/overlays/steam.nix to try to install the libraries:
I’ve been having issues with the same game. The update which switched from 32 to 64 bit also included a new launcher program, which may also be the cause of the issue. I’m planning to spend some time this weekend digging into it.
Since my previous link just got 50 hits, this PR: https://github.com/NixOS/nixpkgs/pull/106409 should have fixed the CK III launcher, and by extension, the other paradox launchers as well