Hi, I’m running EndeavourOS and I have Life is Strange on Steam, which has a native Linux version.

But it doesn’t load, and I got this message when running steam on the terminal:

/bin/sh\0-c\0/home/vis4valentine/.local/share/Steam/ubuntu12_32/reaper SteamLaunch AppId=319630 -- /home/vis4valentine/.local/share/Steam/ubuntu12_32/steam-launch-wrapper -- '/home/vis4valentine/.local/share/Steam/steamapps/common/Life Is Strange/LifeIsStrange.sh'\0
chdir "/home/vis4valentine/.local/share/Steam/steamapps/common/Life Is Strange"
ERROR: ld.so: object '/home/vis4valentine/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
ERROR: ld.so: object '/home/vis4valentine/.local/share/Steam/ubuntu12_64/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS64): ignored.
ERROR: ld.so: object '/home/vis4valentine/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
ERROR: ld.so: object '/home/vis4valentine/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
pid 6958 != 6957, skipping destruction (fork without exec?)
pid 6960 != 6957, skipping destruction (fork without exec?)
ERROR: ld.so: object '/home/vis4valentine/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
pid 6962 != 6957, skipping destruction (fork without exec?)
ERROR: ld.so: object '/home/vis4valentine/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
ERROR: ld.so: object '/home/vis4valentine/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): 
ignored.
pid 6963 != 6957, skipping destruction (fork without exec?)
ERROR: ld.so: object '/home/vis4valentine/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
pid 6971 != 6957, skipping destruction (fork without exec?)
ERROR: ld.so: object '/home/vis4valentine/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
ERROR: ld.so: object '/home/vis4valentine/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
ERROR: ld.so: object '/home/vis4valentine/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
ERROR: ld.so: object '/home/vis4valentine/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
pid 6994 != 6973, skipping destruction (fork without exec?)
pid 6997 != 6973, skipping destruction (fork without exec?)
pid 7000 != 6973, skipping destruction (fork without exec?)
ERROR: ld.so: object '/home/vis4valentine/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
pid 6999 != 6973, skipping destruction (fork without exec?)
pid 6972 != 6957, skipping destruction (fork without exec?)
ERROR: ld.so: object '/home/vis4valentine/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
/home/vis4valentine/.local/share/Steam/steamapps/common/Life Is Strange/bin/LifeIsStrange: error while loading shared libraries: libcef.so: cannot open shared object file: No such file or directory

The lib files that it says are missing, are in the game folder, in a subfolder called lib/x86_64/

I don’t know what can I do.

The is a script called LifeisStrange.sh tho. If that might be useful.

  • @Corngood@lemmy.ml
    link
    fedilink
    107 months ago

    The game overlay stuff is all just noise, so I think it's only the last line (missing libcef.so) that's a problem. Maybe you could share the contents of the shell script, and the output of readelf -d [path to]/LifeIsStrange (i.e. the actual elf), ldd on the same elf, and see if there's a copy of libcef.so anywhere in the game files?

    I'm not sure if libcef (embedded chrome) is meant to be loaded from the steam runtime, from the game files, or from the system. My guess is it can be fixed by altering LD_LIBRARY_PATH in the game's shell script.

  • @rotopenguin@infosec.pub
    link
    fedilink
    English
    87 months ago

    I'm not sure how much influence you can really have there. Steam is supposed to have every dependency sorted out for you. A native linux game should have a fixed environment, it runs in a bit of a canned distro such as "Scout" (Debian 16.04 iirc).

    If the Linux build is broken, you're usually best off to change it to run Proton.

    • Björn Tantau
      link
      fedilink
      27 months ago

      Yeah, it's a shame. But more often than not games with native Linux versions run better on Proton.