How can I fix this error when I try to run Saints Row on Steam?

vis4valentine@lemmy.ml to Linux Gaming@lemmy.ml – 14 points –

Hi, for context, I'm trying to run it on EndeavourOS (arch based) directly from steam, the game is supposed to be Linux native.

./saintsrow2.i386 failed to start due to the following dependancy problems:
ERROR: ld.so: object '/home/vis4valentine/.local/share/Steam/ubuntu12_64/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS64): ignored.
        linux-gate.so.1 (0xf7f1f000)
        /home/vis4valentine/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so (0xf7ec2000)
        libGL.so.1 => /usr/lib32/libGL.so.1 (0xf7e25000)
        libSDL2-2.0.so.0 => /usr/lib32/libSDL2-2.0.so.0 (0xf7c31000)
        librt.so.1 => /usr/lib32/librt.so.1 (0xf7c2c000)
        libdl.so.2 => /usr/lib32/libdl.so.2 (0xf7c27000)
        libfreetype.so.6 => /usr/lib32/libfreetype.so.6 (0xf7b59000)
        libX11.so.6 => /usr/lib32/libX11.so.6 (0xf7a07000)
        libopenal-eon.so.1 => ./libopenal-eon.so.1 (0xf799d000)
        libavformat-eon_full.so.56 => ./libavformat-eon_full.so.56 (0xf78d2000)
        libavcodec-eon_full.so.56 => ./libavcodec-eon_full.so.56 (0xf7200000)
        libavutil-eon_full.so.54 => ./libavutil-eon_full.so.54 (0xf7190000)
        libasound.so.2 => /usr/lib32/libasound.so.2 (0xf7090000)
        libz.so.1 => /usr/lib32/libz.so.1 (0xf7077000)
        libstdc++.so.6 => /usr/lib32/libstdc++.so.6 (0xf6c00000)
        libm.so.6 => /usr/lib32/libm.so.6 (0xf6fa3000)
        libgcc_s.so.1 => /usr/lib32/libgcc_s.so.1 (0xf6f7a000)
        libpthread.so.0 => /usr/lib32/libpthread.so.0 (0xf6f75000)
        libc.so.6 => /usr/lib32/libc.so.6 (0xf6800000)
        /lib/ld-linux.so.2 => /usr/lib/ld-linux.so.2 (0xf7f21000)
        libGLdispatch.so.0 => /usr/lib32/libGLdispatch.so.0 (0xf6ef9000)
        libGLX.so.0 => /usr/lib32/libGLX.so.0 (0xf6ebc000)
        libbz2.so.1.0 => /usr/lib32/libbz2.so.1.0 (0xf6eaa000)
        libpng16.so.16 => /usr/lib32/libpng16.so.16 (0xf6bc3000)
        libharfbuzz.so.0 => /usr/lib32/libharfbuzz.so.0 (0xf6aa2000)
        libbrotlidec.so.1 => /usr/lib32/libbrotlidec.so.1 (0xf6e9b000)
        libxcb.so.1 => /usr/lib32/libxcb.so.1 (0xf6a75000)
        libva.so.1 => not found
        libvpx.so.1 => /usr/lib32/libvpx.so.1 (0xf660c000)
        libvorbisenc.so.2 => /usr/lib32/libvorbisenc.so.2 (0xf657f000)
        libvorbis.so.0 => /usr/lib32/libvorbis.so.0 (0xf6a47000)
        libglib-2.0.so.0 => /usr/lib32/libglib-2.0.so.0 (0xf6419000)
        libbrotlicommon.so.1 => /usr/lib32/libbrotlicommon.so.1 (0xf63f6000)
        libXau.so.6 => /usr/lib32/libXau.so.6 (0xf6e94000)
        libXdmcp.so.6 => /usr/lib32/libXdmcp.so.6 (0xf6e8d000)
        libogg.so.0 => /usr/lib32/libogg.so.0 (0xf6e82000)
        libpcre2-8.so.0 => /usr/lib32/libpcre2-8.so.0 (0xf6355000)

9

It looks like you're missing libva.so.1, so go to your /usr/lib32/ directory and make a symlink to libva.so and call it libva.so.1.

However, this probably won't fix the game. I had to also symlink libvpx.so.1 but after all dependencies were met, GlibC throws an error. I think it was due to the version of GlibC used in the game is very outdated and the systems GlibC no longer uses the same calls, so it bugs out. Similar errors are found in the Life is Strange: Before the Storm Feral Launcher, but that can be patched by compiling a simple file, not sure it's possible for this game.

As far as I know the Linux Native version of Saints Row 2 doesn't work.

I'm not sure how you would go about fixing it, but it looks like you're running the i386 (32-bits) version of the game, but it's trying to load a 64-bit library.

Maybe see if there's a saintsrow2.amd64 or something similar in the game's install directory and try to run that?

Looking at the files on steamdb.info, it looks like there should be a saintsrow2 file in the same directory. I'd assume that's the x64 start script

Hi, I install the libva.so from AUR and also I did this: steam-runtime --reset

And seems to work, but now I have a different problem, this one:

I now need to find out how to fix this one.

Try turning off the steam overlay maybe? I also had to install a 32 bit graphics library for one game. Can't remember which library though

I would like to know what library that might be.

I think it may have been lib32-nvidia-utils? But I cant remember. If that didnt work left me know and ill look again.