this post was submitted on 19 Nov 2023
20 points (95.5% liked)

Linux Gaming

15834 readers
18 users here now

Gaming on the GNU/Linux operating system.

Recommended news sources:

Related chat:

Related Communities:

Please be nice to other members. Anyone not being nice will be banned. Keep it fun, respectful and just be awesome to each other.

founded 4 years ago
MODERATORS
 

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.

you are viewing a single comment's thread
view the rest of the comments
[–] Corngood@lemmy.ml 10 points 1 year 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.