#Sven Co-op failing to link to hw.so

1 messages · Page 1 of 1 (latest)

scarlet viper
#

I'm on openSUSE Tumbleweed.

Sven starts from Steam but doesn't display anything.
Attempting to start it from the command line does this:

toby@knifeprty:~/.steam/steam/steamapps/common/Sven Co-op> ./svencoop.sh 
Checking for missing dependencies... OK!
Game executable: svencoop_linux
Launch parameters: 
Game dir: /home/toby/.steam/steam/steamapps/common/Sven Co-op
Platform type: Linux
ERROR: ld.so: object './libiconv.so.2' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
ERROR: ld.so: object './libiconv.so.2' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
GNU C version: 2.39
File descriptors size: 2048
Current Linux library path: /home/toby/.steam/steam/steamapps/common/Sven Co-op::/home/toby/.steam/bin32/steam-runtime/i386/lib/i386-linux-gnu:/home/toby/.steam/bin32/steam-runtime/i386/usr/lib/i386-linux-gnu
Pre-loaded libs: ./libiconv.so.2
System Path: /home/toby/bin:/usr/local/bin:/usr/bin:/bin:/home/toby/.SDK/NET-Core-6
Using Steam runtime: 1

Launching...


Error: /home/toby/.local/share/Steam/steamapps/common/Sven Co-op/hw.so: undefined symbol: _ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED1Ev, version GLIBCXX_3.4.21
Error: .so: cannot open shared object file: No such file or directory
Could not load hw.so.
Please try again at a later time.
#

what an interesting linker error

#

...it's a glibc issue

#

fuck

sand quartz
#

That's Steam runtime providing older libraries (probably 1.0 runtime by default) than what we used to compile the game. Try disabling Steam runtime with -nosteamruntime parameter.

scarlet viper
#

sorry, had to eat and i'm about to be afk again but i tried that and i'm still not getting any video:

toby@knifeprty:~/.steam/steam/steamapps/common/Sven Co-op> ./svencoop.sh -nosteamruntime
Checking for missing dependencies... OK!
Game executable: svencoop_linux
Launch parameters: -nosteamruntime
Game dir: /home/toby/.steam/steam/steamapps/common/Sven Co-op
Platform type: Linux
ERROR: ld.so: object './libiconv.so.2' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
ERROR: ld.so: object './libiconv.so.2' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
GNU C version: 2.39
File descriptors size: 2048
Current Linux library path: /home/toby/.steam/steam/steamapps/common/Sven Co-op
Pre-loaded libs: ./libiconv.so.2
System Path: /bin:/usr/local/bin:/usr/bin:/bin:/.SDK/NET-Core-6
Using Steam runtime: 0

Launching...


Using breakpad crash handler

#

seems to be getting further

#

i'm going to try adding -nosteamruntime to the launch options from steam but ideally i'd like to get it to where JACK can start it

#

iirc last time i ended up just running it in wine

#

yeah i'll probably just do it in wine

#

thanks for the help though man

sand quartz
#

You can also change Steam runtime settings in Steam game properties and see if works.

scarlet viper
#

oh it finally gave me a real error

#
src/common/pipes.cpp (883) : fatal stalled cross-thread pipe.
src/common/pipes.cpp (883) : fatal stalled cross-thread pipe.
src/common/pipes.cpp (883) : Fatal assert; application exiting
src/common/pipes.cpp (883) : Fatal assert; application exiting
05/24 19:17:05 minidumps folder is set to /tmp/dumps
05/24 19:17:05 Init: Installing breakpad exception handler for appid(svencoop_linux)/version(1.0)/tid(28788)
assert_20240524191705_3.dmp[29044]: Uploading dump (out-of-process)
/tmp/dumps/assert_20240524191705_3.dmp
_ExitOnFatalAssert

Uh oh it seems the game has crashed or failed to run (╯°□°)╯︵ ┻━┻
Support available on our Discord server: https://discord.gg/svencoop

ERROR: ld.so: object './libiconv.so.2' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
assert_20240524191705_3.dmp[29044]: Finished uploading minidump (out-of-process): success = yes
assert_20240524191705_3.dmp[29044]: response: Discarded=1
assert_20240524191705_3.dmp[29044]: file ''/tmp/dumps/assert_20240524191705_3.dmp'', upload yes: ''Discarded=1''
scarlet viper
#

restarted steam and uhh

#

well

#

i have video!

#

supposedly

#

yeah it just crashes when i set the resolution to anything above 640x480

#

not ideal

#

oh nope? it works now

#

what a disaster LMFAO

#

hasn't been much fun on openSUSE but i remember it working just fine on fedora

#

ok the error pisses off if i run it from steam

#

thanks again for the help :)

sand quartz
#

and yeah that giant pop up has something to do with SteamEnv environment parameter not set, setting to 1 gets rid of that

#

the engine also can crash while changing resolution, that's a long lasting issue :/

scarlet viper
#

agh. annoying

#

still, works well enough... aside from the 15fps i'm getting.

#

sigh. time to install the nvidia drivers

sand quartz
#

good luck, linux nvidia drivers always gave me headache

scarlet viper
#

i have an older laptop which is usually not a problem with non-puritan distros

#

but... openSUSE didn't install them by default, so here i go

#

damn that was easy