Sven Co-op

Sven Co-op

tuna Apr 14, 2020 @ 10:31am
Can launch Sven Coop "could not load "hw.so"
Hi all,

I feel I've had this problem before, in fact I was Googling this issue and found the post I commented on and tried the solution (cd'ing to the dir and attempting to run "./svencoop.sh" but it doesn't work.


Here is the terminal's output after attempting to launch;

https://pastebin.com/XNjJ92w4

[tuna@tuna Sven Co-op]$ ./svencoop.sh
Checking for missing dependencies... OK!
Game executable: svencoop_linux
Launch parameters:
Game dir: /run/media/tuna/b9f1e45d-9372-4ebb-8106-21636a973362/SteamLibrary/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.31
File descriptors size: 2048
Current Linux library path: /run/media/tuna/b9f1e45d-9372-4ebb-8106-21636a973362/SteamLibrary/steamapps/common/Sven Co-op:.:::/home/tuna/.steam/bin32/steam-runtime/i386/lib/i386-linux-gnu:/home/tuna/.steam/bin32/steam-runtime/i386/usr/lib/i386-linux-gnu:/home/tuna/.steam/bin32/steam-runtime/i386/lib/i386-linux-gnu:/home/tuna/.steam/bin32/steam-runtime/i386/usr/lib/i386-linux-gnu
Pre-loaded libs: ./libiconv.so.2
System Path: /home/tuna/.local/bin:/usr/local/bin:/usr/bin:/bin:/usr/local/sbin:/usr/lib/jvm/default/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl:/var/lib/snapd/snap/bin
Using Steam runtime: 1

Launching...


Error: /run/media/tuna/b9f1e45d-9372-4ebb-8106-21636a973362/SteamLibrary/steamapps/common/Sven Co-op/libgcc_s.so.1: version `GCC_7.0.0' not found (required by /usr/lib32/libopenal.so.1)
Error: .so: cannot open shared object file: No such file or directory
Could not load hw.so.



Can anyone help point me to the right direction as to what's going wrong? Thanks kindly.:gordon:
Originally posted by R4to0:
Seems to be caused by the outdated libgcc_s.so.1 lib that is shipped within the game.
Error: /run/media/tuna/b9f1e45d-9372-4ebb-8106-21636a973362/SteamLibrary/steamapps/common/Sven Co-op/libgcc_s.so.1: version `GCC_7.0.0' not found (required by /usr/lib32/libopenal.so.1)

From my upcoming guide:
libgcc_s.so.1: version `GCC_X.X.X' not found
Usually happens on 'bleeding-edge' distros (those that are always up to date with its current code), this is mostly caused by an old library file being shipped with the game and conflicting with whatever the system is running. The solution is to delete libgcc_s.so.1 file from game directory.
< >
Showing 1-6 of 6 comments
tuna Apr 14, 2020 @ 10:36am 
It's probably worth mentioning I was able to play this BEFORE reinstalling the other week, now I can't. I guess I'm missing an application or package? Not sure what though....
The author of this thread has indicated that this post answers the original topic.
R4to0  [developer] Apr 14, 2020 @ 10:42am 
Seems to be caused by the outdated libgcc_s.so.1 lib that is shipped within the game.
Error: /run/media/tuna/b9f1e45d-9372-4ebb-8106-21636a973362/SteamLibrary/steamapps/common/Sven Co-op/libgcc_s.so.1: version `GCC_7.0.0' not found (required by /usr/lib32/libopenal.so.1)

From my upcoming guide:
libgcc_s.so.1: version `GCC_X.X.X' not found
Usually happens on 'bleeding-edge' distros (those that are always up to date with its current code), this is mostly caused by an old library file being shipped with the game and conflicting with whatever the system is running. The solution is to delete libgcc_s.so.1 file from game directory.
tuna Apr 14, 2020 @ 10:44am 
Thanks a bunch amigo, that got it working. Solved!
mejku Oct 1, 2021 @ 4:50am 
Hello, I have replaced my graphics card to the newest Radeon 6700XT, but I am getting this error after trying to launch the game:
Error: /run/media/xxx/WD/SteamLibrary/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.
I've even reinstalled my Manjaro system, but the problem still persist. I don't have any libgcc_s.so.1 file in main Sven Coop folder.
Adambean  [developer] Oct 2, 2021 @ 1:38am 
I'm supprised Steam works for you at all what with Manjaro not being a supported distribution.

What version of GLibC do you have? You can find this out by running `ldd --version`.


Edit: Sorry, this is about GNU C++. To find out what versions of this you have available, first do `/sbin/ldconfig -p | grep stdc++`.
You'll be shown a list of resulting library files, for example:
$ /sbin/ldconfig -p | grep stdc++ libstdc++.so.6 (libc6,x86-64) => /usr/lib/x86_64-linux-gnu/libstdc++.so.6
Take the resulting file pathname into a `strings` command, such as:
$ strings /usr/lib/x86_64-linux-gnu/libstdc++.so.6 | grep LIBCXX GLIBCXX_3.4 GLIBCXX_3.4.1 GLIBCXX_3.4.2 GLIBCXX_3.4.3 GLIBCXX_3.4.4 GLIBCXX_3.4.5 GLIBCXX_3.4.6 GLIBCXX_3.4.7 GLIBCXX_3.4.8 GLIBCXX_3.4.9 GLIBCXX_3.4.10 GLIBCXX_3.4.11 GLIBCXX_3.4.12 GLIBCXX_3.4.13 GLIBCXX_3.4.14 GLIBCXX_3.4.15 GLIBCXX_3.4.16 GLIBCXX_3.4.17 GLIBCXX_3.4.18 GLIBCXX_3.4.19 GLIBCXX_3.4.20 GLIBCXX_3.4.21 GLIBCXX_3.4.22 GLIBCXX_3.4.23 GLIBCXX_3.4.24 GLIBCXX_3.4.25 GLIBCXX_3.4.26 GLIBCXX_3.4.27 GLIBCXX_3.4.28 GLIBCXX_DEBUG_MESSAGE_LENGTH

Is "GLIBCXX_3.4.21" in this list for you?
Last edited by Adambean; Oct 2, 2021 @ 1:42am
mejku Oct 2, 2021 @ 3:57am 
Thanks @AdamBean for the response!

Output for first command:
/sbin/ldconfig -p | grep stdc++ libstdc++.so.6 (libc6,x86-64) => /usr/lib/libstdc++.so.6 libstdc++.so.6 (libc6) => /usr/lib32/libstdc++.so.6 libstdc++.so (libc6,x86-64) => /usr/lib/libstdc++.so libstdc++.so (libc6) => /usr/lib32/libstdc++.so
And there seems to be GLIBCXX_3.4.21:
strings /usr/lib/libstdc++.so.6 | grep LIBCXX GLIBCXX_3.4 GLIBCXX_3.4.1 GLIBCXX_3.4.2 GLIBCXX_3.4.3 GLIBCXX_3.4.4 GLIBCXX_3.4.5 GLIBCXX_3.4.6 GLIBCXX_3.4.7 GLIBCXX_3.4.8 GLIBCXX_3.4.9 GLIBCXX_3.4.10 GLIBCXX_3.4.11 GLIBCXX_3.4.12 GLIBCXX_3.4.13 GLIBCXX_3.4.14 GLIBCXX_3.4.15 GLIBCXX_3.4.16 GLIBCXX_3.4.17 GLIBCXX_3.4.18 GLIBCXX_3.4.19 GLIBCXX_3.4.20 GLIBCXX_3.4.21 GLIBCXX_3.4.22 GLIBCXX_3.4.23 GLIBCXX_3.4.24 GLIBCXX_3.4.25 GLIBCXX_3.4.26 GLIBCXX_3.4.27 GLIBCXX_3.4.28 GLIBCXX_3.4.29

It is strange because if I switch back to Radeon RX580 it just works, but on my newest RX6700XT I am getting errors. I will paste below whole output when launching Sven:
xxx-pc% ./svencoop.sh Checking for missing dependencies... OK! Game executable: svencoop_linux Launch parameters: Game dir: /media/WD/SteamLibrary/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.33 File descriptors size: 2048 Current Linux library path: /media/WD/SteamLibrary/steamapps/common/Sven Co-op::/home/xxx/.steam/bin32/steam-runtime/i386/lib/i386-linux-gnu:/home/xxx/.steam/bin32/steam-runtime/i386/usr/lib/i386-linux-gnu Pre-loaded libs: ./libiconv.so.2 System Path: /home/xxx/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl:/var/lib/snapd/snap/bin Using Steam runtime: 1 Launching... Error: /media/WD/SteamLibrary/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.%

< >
Showing 1-6 of 6 comments
Per page: 1530 50

Date Posted: Apr 14, 2020 @ 10:31am
Posts: 6