Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[solved]This War of mine (Steam) doesn't start.
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Gamers & Players
View previous topic :: View next topic  
Author Message
Linubie
Guru
Guru


Joined: 11 Jun 2004
Posts: 365

PostPosted: Fri Dec 07, 2018 4:04 pm    Post subject: [solved]This War of mine (Steam) doesn't start. Reply with quote

The game doesn't start, running in console gives more information:

Code:
./"This War of Mine"
./This War of Mine: error while loading shared libraries: libsteam_api.so: cannot open shared object file: No such file or directory


Code:
ldd *so This\ War\ of\ Mine
libOpenAL.so:
        linux-gate.so.1 (0xf7f05000)
        libm.so.6 => /lib32/libm.so.6 (0xf7d7e000)
        libgcc_s.so.1 => /usr/lib/gcc/x86_64-pc-linux-gnu/7.3.0/32/libgcc_s.so.1 (0xf7d62000)
        libc.so.6 => /lib32/libc.so.6 (0xf7b7e000)
        /lib/ld-linux.so.2 (0xf7f06000)
libsteam_api.so:
        linux-gate.so.1 (0xf7f98000)
        libdl.so.2 => /lib32/libdl.so.2 (0xf7f08000)
        libstdc++.so.6 => /usr/lib/gcc/x86_64-pc-linux-gnu/7.3.0/32/libstdc++.so.6 (0xf7d02000)
        libpthread.so.0 => /lib32/libpthread.so.0 (0xf7ce2000)
        /lib/ld-linux.so.2 (0xf7f99000)
        libc.so.6 => /lib32/libc.so.6 (0xf7afe000)
        libm.so.6 => /lib32/libm.so.6 (0xf7a30000)
        libgcc_s.so.1 => /usr/lib/gcc/x86_64-pc-linux-gnu/7.3.0/32/libgcc_s.so.1 (0xf7a14000)
This War of Mine:
./This War of Mine: /usr/lib32/libcurl.so.4: no version information available (required by ./This War of Mine)
        linux-gate.so.1 (0xf7f3b000)
        libsteam_api.so => not found
        libcurl.so.4 => /usr/lib32/libcurl.so.4 (0xf7e60000)
        libOpenAL.so => not found
        libGL.so.1 => /usr/lib32/opengl/nvidia/lib/libGL.so.1 (0xf7dda000)
        libX11.so.6 => /usr/lib32/libX11.so.6 (0xf7c8d000)
        libpthread.so.0 => /lib32/libpthread.so.0 (0xf7c6d000)
        librt.so.1 => /lib32/librt.so.1 (0xf7c63000)
        libstdc++.so.6 => /usr/lib/gcc/x86_64-pc-linux-gnu/7.3.0/32/libstdc++.so.6 (0xf7a5d000)
        libm.so.6 => /lib32/libm.so.6 (0xf798f000)
        libgcc_s.so.1 => /usr/lib/gcc/x86_64-pc-linux-gnu/7.3.0/32/libgcc_s.so.1 (0xf7973000)
        libc.so.6 => /lib32/libc.so.6 (0xf778d000)
        libssl.so.1.0.0 => /usr/lib32/libssl.so.1.0.0 (0xf771d000)
        libcrypto.so.1.0.0 => /usr/lib32/libcrypto.so.1.0.0 (0xf7522000)
        libgssapi_krb5.so.2 => /usr/lib32/libgssapi_krb5.so.2 (0xf74ce000)
        libkrb5.so.3 => /usr/lib32/libkrb5.so.3 (0xf73ef000)
        libk5crypto.so.3 => /usr/lib32/libk5crypto.so.3 (0xf73b8000)
        libcom_err.so.2 => /usr/lib32/libcom_err.so.2 (0xf73b3000)
        libz.so.1 => /usr/lib32/libz.so.1 (0xf739a000)
        libdl.so.2 => /lib32/libdl.so.2 (0xf7395000)
        libGLX.so.0 => /usr/lib32/opengl/nvidia/lib/libGLX.so.0 (0xf7376000)
        libGLdispatch.so.0 => /usr/lib32/opengl/nvidia/lib/libGLdispatch.so.0 (0xf72f2000)
        libxcb.so.1 => /usr/lib32/libxcb.so.1 (0xf72c5000)
        /lib/ld-linux.so.2 (0xf7f3c000)
        libkrb5support.so.0 => /usr/lib32/libkrb5support.so.0 (0xf72b6000)
        libkeyutils.so.1 => /usr/lib32/libkeyutils.so.1 (0xf72b1000)
        libresolv.so.2 => /lib32/libresolv.so.2 (0xf7299000)
        libXext.so.6 => /usr/lib32/libXext.so.6 (0xf7284000)
        libXau.so.6 => /usr/lib32/libXau.so.6 (0xf727f000)
        libXdmcp.so.6 => /usr/lib32/libXdmcp.so.6 (0xf7278000)


From what I undestand using the ldd command, there seems to be an issue with:

/usr/lib32/libcurl.so.4: no version information available (required by ./This War of Mine)
libOpenAL.so => not found
libsteam_api.so => not found

Code:
ldconfig -p  | grep libcurl
        libcurl.so.4 (libc6,x86-64) => /usr/lib64/libcurl.so.4
        libcurl.so.4 (libc6) => /usr/lib32/libcurl.so.4
        libcurl.so (libc6,x86-64) => /usr/lib64/libcurl.so
        libcurl.so (libc6) => /usr/lib32/libcurl.so

Code:
ls /usr/lib32/libcurl*
lrwxrwxrwx 1 root root     16  6. Sep 23:00 /usr/lib32/libcurl.so -> libcurl.so.4.5.0
lrwxrwxrwx 1 root root     16  6. Sep 23:00 /usr/lib32/libcurl.so.4 -> libcurl.so.4.5.0
-rwxr-xr-x 1 root root 543488  6. Sep 23:00 /usr/lib32/libcurl.so.4.5.0


Code:
ldconfig -p  | grep openal
        libopenal.so.1 (libc6,x86-64) => s.so.1
        libopenal.so.1 (libc6) => /usr/lib32/libopenal.so.1
        libopenal.so (libc6,x86-64) => /usr/lib64/libopenal.so
        libopenal.so (libc6) => /usr/lib32/libopenal.so

Code:

ls /usr/lib64/libopenal*
lrwxrwxrwx 1 root root     14 18. Jan 2018  /usr/lib64/libopenal.so -> libopenal.so.1
lrwxrwxrwx 1 root root     19 18. Jan 2018  /usr/lib64/libopenal.so.1 -> libopenal.so.1.18.2
-rwxr-xr-x 1 root root 634048 18. Jan 2018  /usr/lib64/libopenal.so.1.18.2

ls /usr/lib32/libopenal*
lrwxrwxrwx 1 root root     14 18. Jan 2018  /usr/lib32/libopenal.so -> libopenal.so.1
lrwxrwxrwx 1 root root     19 18. Jan 2018  /usr/lib32/libopenal.so.1 -> libopenal.so.1.18.2
-rwxr-xr-x 1 root root 686024 18. Jan 2018  /usr/lib32/libopenal.so.1.18.2



after some digging in the steam forum I ended up with this:
Code:

LD_LIBRARY_PATH=~/.local/share/Steam/ubuntu12_32/steam-runtime/i386/usr/lib/i386-linux-gnu:~/.local/share/Steam/ubuntu12_32/steam-runtime/i386/lib/i386-linux-gnu LD_PRELOAD=~/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so:~.local/share/Steam/ubuntu12_32/steam-runtime.old/i386/usr/lib/i386-linux-gnu/libcurl.so.4 %command%


but as you might guess with no success :O)

Does anyone has it running, or can give me a helping hand making it run?

Thank you
_________________
Mircosoft software is like having sex with a stranger, you always have to be careful not to get infected with something...


Last edited by Linubie on Sat Dec 08, 2018 7:35 pm; edited 1 time in total
Back to top
View user's profile Send private message
bunder
Bodhisattva
Bodhisattva


Joined: 10 Apr 2004
Posts: 5934

PostPosted: Fri Dec 07, 2018 8:12 pm    Post subject: Reply with quote

from what i can see on my desktop, libsteam_api.so should be somewhere in the games directory (so in this case ~/.steam/steam/steamapps/common/<your game here>/ )

do you have the steam client installed? it might be easier to launch from that.
_________________
Neddyseagoon wrote:
The problem with leaving is that you can only do it once and it reduces your influence.

banned from #gentoo since sept 2017
Back to top
View user's profile Send private message
Linubie
Guru
Guru


Joined: 11 Jun 2004
Posts: 365

PostPosted: Fri Dec 07, 2018 8:53 pm    Post subject: Reply with quote

Hi,

yes steam client is installed, I launch all steam games from it.

Do you have the game installed and running?
_________________
Mircosoft software is like having sex with a stranger, you always have to be careful not to get infected with something...
Back to top
View user's profile Send private message
Naib
Watchman
Watchman


Joined: 21 May 2004
Posts: 6051
Location: Removed by Neddy

PostPosted: Fri Dec 07, 2018 9:10 pm    Post subject: Reply with quote

two things

1) STEAM_RUNTIME_PREFER_HOST_LIBRARIES=1
put this in your environmental file. This will instruct Steam (next launch) to prefer system libraries over the ones it ships. This should solve the OpenAL

2) A couple of games have been release where libsteam_api.so has been in the wrong directory (or the build was wrong). Find it or it from another game and symlink into the root of the games directory
_________________
Quote:
Removed by Chiitoo
Back to top
View user's profile Send private message
Linubie
Guru
Guru


Joined: 11 Jun 2004
Posts: 365

PostPosted: Sat Dec 08, 2018 12:25 am    Post subject: Reply with quote

Okay I added

export STEAM_RUNTIME_PREFER_HOST_LIBRARIES=1 to .bashrc

and relogged.

env | grep STEAM_RUNTIME_PREFER_HOST_LIBRARIES=1
STEAM_RUNTIME_PREFER_HOST_LIBRARIES=1


I linked libsteam_api.so from Rise of the Tomb Raider

265434 19. Apr 2018 libsteam_api.so
Code:

/mnt/games/steam/steamapps/common/This War of Mine $ ls
insgesamt 2025060
-rwxr-xr-x 1 user user   25135983  6. Dez 21:50  animations.dat
-rwxr-xr-x 1 user user      18779  6. Dez 21:50  animations.idx
-rwxr-xr-x 1 user user    1154831  6. Dez 21:50  common.dat
-rwxr-xr-x 1 user user      19850  6. Dez 21:50  common.idx
drwxr-xr-x 2 user user       4096  6. Dez 21:57  CustomContent
-rwxr-xr-x 1 user user      65664  6. Dez 21:49  gog.dat
-rwxr-xr-x 1 user user         28  6. Dez 21:50  gog.idx
-rwxr-xr-x 1 user user     380511  6. Dez 21:49  libcurl.so.4
-rwxr-xr-x 1 user user     434697  6. Dez 21:49  libOpenAL.so
lrwxrwxrwx 1 user user         80  8. Dez 00:25  libsteam_api.so -> '/mnt/ssdlinux/steam/steamapps/common/Rise of the Tomb Raider/lib/libsteam_api.so'
drwxr-xr-x 2 user user       4096  6. Dez 21:57  LocalizationPacks
-rwxr-xr-x 1 user user    5055393  6. Dez 21:50  localizations.dat
-rwxr-xr-x 1 user user        351  6. Dez 21:50  localizations.idx
-rwxr-xr-x 1 user user    6225644  6. Dez 21:50  scenes.dat
-rwxr-xr-x 1 user user       4431  6. Dez 21:50  scenes.idx
-rwxr-xr-x 1 user user  305344375  6. Dez 21:51  sounds.dat
-rwxr-xr-x 1 user user      25800  6. Dez 21:51  sounds.idx
-rwxr-xr-x 1 user user  101031226  6. Dez 21:51  templates.dat
-rwxr-xr-x 1 user user      53034  6. Dez 21:51  templates.idx
-rwxr-xr-x 1 user user 1501856434  6. Dez 21:56  textures-s3.dat
-rwxr-xr-x 1 user user      36187  6. Dez 21:56  textures-s3.idx
-rwxr-xr-x 1 user user   13141125  6. Dez 21:49 'This War of Mine'
drwxr-xr-x 2 user user       4096  6. Dez 21:57 'This War of Mine OST'
-rwxr-xr-x 1 user user  113595082  6. Dez 21:56  videos.dat
-rwxr-xr-x 1 user user        113  6. Dez 21:54  videos.idx
-rwxr-xr-x 1 user user          0  6. Dez 21:56  voices.dat
-rwxr-xr-x 1 user user         11  6. Dez 21:54  voices.idx
drwxr-xr-x 2 user user       4096  6. Dez 21:57  WorkshopData


But unfortunately there is still the same issue.

Code:
ldd *so This\ War\ of\ Mine
libOpenAL.so:
        linux-gate.so.1 (0xf7ef3000)
        libm.so.6 => /lib32/libm.so.6 (0xf7d6c000)
        libgcc_s.so.1 => /usr/lib/gcc/x86_64-pc-linux-gnu/7.3.0/32/libgcc_s.so.1 (0xf7d50000)
        libc.so.6 => /lib32/libc.so.6 (0xf7b6c000)
        /lib/ld-linux.so.2 (0xf7ef4000)
libsteam_api.so:
        linux-vdso.so.1 (0x00007ffd81794000)
        libdl.so.2 => /lib64/libdl.so.2 (0x00007f2384b18000)
        libstdc++.so.6 => /usr/lib/gcc/x86_64-pc-linux-gnu/7.3.0/libstdc++.so.6 (0x00007f2384713000)
        libpthread.so.0 => /lib64/libpthread.so.0 (0x00007f23844f3000)
        /lib64/ld-linux-x86-64.so.2 (0x00007f2384f50000)
        libc.so.6 => /lib64/libc.so.6 (0x00007f238412b000)
        libm.so.6 => /lib64/libm.so.6 (0x00007f2383d9b000)
        libgcc_s.so.1 => /usr/lib/gcc/x86_64-pc-linux-gnu/7.3.0/libgcc_s.so.1 (0x00007f2383b84000)
This War of Mine:
./This War of Mine: /usr/lib32/libcurl.so.4: no version information available (required by ./This War of Mine)
        linux-gate.so.1 (0xf7f6c000)
        libsteam_api.so => not found
        libcurl.so.4 => /usr/lib32/libcurl.so.4 (0xf7e91000)
        libOpenAL.so => not found
        libGL.so.1 => /usr/lib32/opengl/nvidia/lib/libGL.so.1 (0xf7e0b000)
        libX11.so.6 => /usr/lib32/libX11.so.6 (0xf7cbe000)
        libpthread.so.0 => /lib32/libpthread.so.0 (0xf7c9e000)
        librt.so.1 => /lib32/librt.so.1 (0xf7c94000)
        libstdc++.so.6 => /usr/lib/gcc/x86_64-pc-linux-gnu/7.3.0/32/libstdc++.so.6 (0xf7a8e000)
        libm.so.6 => /lib32/libm.so.6 (0xf79c0000)
        libgcc_s.so.1 => /usr/lib/gcc/x86_64-pc-linux-gnu/7.3.0/32/libgcc_s.so.1 (0xf79a4000)
        libc.so.6 => /lib32/libc.so.6 (0xf77be000)
        libssl.so.1.0.0 => /usr/lib32/libssl.so.1.0.0 (0xf774e000)
        libcrypto.so.1.0.0 => /usr/lib32/libcrypto.so.1.0.0 (0xf7553000)
        libgssapi_krb5.so.2 => /usr/lib32/libgssapi_krb5.so.2 (0xf74ff000)
        libkrb5.so.3 => /usr/lib32/libkrb5.so.3 (0xf7420000)
        libk5crypto.so.3 => /usr/lib32/libk5crypto.so.3 (0xf73e9000)
        libcom_err.so.2 => /usr/lib32/libcom_err.so.2 (0xf73e4000)
        libz.so.1 => /usr/lib32/libz.so.1 (0xf73cb000)
        libdl.so.2 => /lib32/libdl.so.2 (0xf73c6000)
        libGLX.so.0 => /usr/lib32/opengl/nvidia/lib/libGLX.so.0 (0xf73a7000)
        libGLdispatch.so.0 => /usr/lib32/opengl/nvidia/lib/libGLdispatch.so.0 (0xf7323000)
        libxcb.so.1 => /usr/lib32/libxcb.so.1 (0xf72f6000)
        /lib/ld-linux.so.2 (0xf7f6d000)
        libkrb5support.so.0 => /usr/lib32/libkrb5support.so.0 (0xf72e7000)
        libkeyutils.so.1 => /usr/lib32/libkeyutils.so.1 (0xf72e2000)
        libresolv.so.2 => /lib32/libresolv.so.2 (0xf72ca000)
        libXext.so.6 => /usr/lib32/libXext.so.6 (0xf72b5000)
        libXau.so.6 => /usr/lib32/libXau.so.6 (0xf72b0000)
        libXdmcp.so.6 => /usr/lib32/libXdmcp.so.6 (0xf72a9000)


Code:
steam steam://rungameid/282070

ERROR: ld.so: object '~/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
ERROR: ld.so: object '~/.local/share/Steam/ubuntu12_64/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS64): ignored.
/mnt/games/steam/steamapps/common/This War of Mine/This War of Mine: error while loading shared libraries: libsteam_api.so: cannot open shared object file: No such file or directory

_________________
Mircosoft software is like having sex with a stranger, you always have to be careful not to get infected with something...
Back to top
View user's profile Send private message
The Main Man
Veteran
Veteran


Joined: 27 Nov 2014
Posts: 1165
Location: /run/user/1000

PostPosted: Sat Dec 08, 2018 10:48 am    Post subject: Reply with quote

If you run steam with system libraries then there's a ton of stuff you need to do first.
Mainly you need to compile various libraries with x86 support, in package.use add
Code:
abi_x86_32
to those libs.

And you run steam like this from terminal :
Code:
STEAM_RUNTIME=0 steam
Back to top
View user's profile Send private message
Linubie
Guru
Guru


Joined: 11 Jun 2004
Posts: 365

PostPosted: Sat Dec 08, 2018 1:54 pm    Post subject: Reply with quote

Hey kajzer,

yes steam is installed with various libraries using abi_x86_32, I run serveral other games with steam. I had to umask serveral libs with using abi_x86_32 for wine aswell.
The only game that was causing trouble was the long dark. Here I could set some start commands to make it run.


env | grep STEAM_RUNTIME
STEAM_RUNTIME=0



Code:
steam steam://rungameid/282070
Running Steam on gentoo 1.0.0.54-r4 64-bit
STEAM_RUNTIME is disabled by the user
Installing breakpad exception handler for appid(steam)/version(1543961004)
Installing breakpad exception handler for appid(steam)/version(1543961004)
Gtk-Message: 14:44:59.616: Failed to load module "canberra-gtk-module"
Installing breakpad exception handler for appid(steam)/version(1543961004)
[1208/144459.929487:INFO:crash_reporting.cc(216)] Crash reporting enabled for process: browser
[1208/144459.941513:WARNING:crash_reporting.cc(255)] Failed to set crash key: UserID with value: 0
[1208/144459.941565:WARNING:crash_reporting.cc(255)] Failed to set crash key: BuildID with value: 1543952288
[1208/144459.941571:WARNING:crash_reporting.cc(255)] Failed to set crash key: SteamUniverse with value: Public
[1208/144459.941576:WARNING:crash_reporting.cc(255)] Failed to set crash key: Vendor with value: Valve
[1208/144459.946978:ERROR:gpu_process_transport_factory.cc(1026)] Lost UI shared context.
CApplicationManagerPopulateThread took 14 milliseconds to initialize (will have waited on CAppInfoCacheReadFromDiskThread)
Installing breakpad exception handler for appid(steam)/version(1543961004)
CAppInfoCacheReadFromDiskThread took 109 milliseconds to initialize

(steam:1538): Gtk-WARNING **: 14:45:17.396: gtk_disable_setlocale() must be called before gtk_init()
[2018-12-08 14:44:58] Startup - updater built Dec  4 2018 19:37:52
[2018-12-08 14:44:58] Opted in to client beta 'publicbeta' via beta file
You are in the 'publicbeta' client beta.
[2018-12-08 14:44:58] Verifying installation...
[2018-12-08 14:44:58] Verification complete
Local Device Found
  type: 044f b108
  path: sdl://0
  serial_number:  - 0
  Manufacturer:
  Product:      Thrustmaster T.Flight Hotas X
  Release:      100
  Interface:    -1

Local Device Found
  type: 044f b108
  path: sdl://0
  serial_number:  - 0
  Manufacturer:
  Product:      Thrustmaster T.Flight Hotas X
  Release:      100
  Interface:    -1

Setting VR Path Registry runtime path to /mnt/games/steam/steamapps/common/SteamVR
Setting VR Path Registry config path to /home/darfwas/.local/share/Steam/config
Setting VR Path Registry log path to /home/darfwas/.local/share/Steam/logs
Setting VR Path Registry runtime path to /mnt/games/steam/steamapps/common/SteamVR
Setting VR Path Registry config path to /home/darfwas/.local/share/Steam/config
Setting VR Path Registry log path to /home/darfwas/.local/share/Steam/logs
Opted-in Controller Mask for AppId 0: 0
roaming config store loaded successfully - 1902 bytes.
migrating temporary roaming config store
appdatacache.cpp (2124) : Assertion Failed: !bSharedKVSymbols
crash_20181208144529_23.dmp[1625]: Uploading dump (out-of-process)
/tmp/dumps/crash_20181208144529_23.dmp
appdatacache.cpp (2124) : Assertion Failed: !bSharedKVSymbols
appdatacache.cpp (2124) : Assertion Failed: !bSharedKVSymbols
crash_20181208144529_23.dmp[1625]: Finished uploading minidump (out-of-process): success = yes
crash_20181208144529_23.dmp[1625]: response: CrashID=bp-e8c9d98e-29df-4227-9dc1-385a72181208
crash_20181208144529_23.dmp[1625]: file ''/tmp/dumps/crash_20181208144529_23.dmp'', upload yes: ''CrashID=bp-e8c9d98e-29df-4227-9dc1-385a72181208''


I could upload my package.use with abi_x86_32 to pastebin or similar services if you like.

This War of mine still doesn't run.
_________________
Mircosoft software is like having sex with a stranger, you always have to be careful not to get infected with something...
Back to top
View user's profile Send private message
The Main Man
Veteran
Veteran


Joined: 27 Nov 2014
Posts: 1165
Location: /run/user/1000

PostPosted: Sat Dec 08, 2018 2:21 pm    Post subject: Reply with quote

No need, it seems to be fine since you were able to launch Steam at all.
If some game doesn't work you would then see why and then add USE flag for that library.

I don't see it says now why it isn't working?
It doesn't say why now?

Anyhow, you can go back with steam runtime enabled, remove symlink that you made earlier from that other game and just copy libsteam_api.so (pick one from some working game) to /usr/lib/
I don't see how in that case you would still get :
Code:
error while loading shared libraries: libsteam_api.so: cannot open shared object file: No such file or directory


I don't have this particular game but that's how I solved the same error from other games.
It's still there.
Back to top
View user's profile Send private message
Linubie
Guru
Guru


Joined: 11 Jun 2004
Posts: 365

PostPosted: Sat Dec 08, 2018 3:07 pm    Post subject: Reply with quote

no it doesn't work, no matter what libsteam_api.so I copy to /usr/lib I get the an error mesage:
Code:

GameAction [AppID 282070, ActionID 1] : LaunchApp changed task to WaitingGameWindow with ""
ERROR: ld.so: object '~/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
GameAction [AppID 282070, ActionID 1] : LaunchApp changed task to Completed with ""
ERROR: ld.so: object '~/.local/share/Steam/ubuntu12_64/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS64): ignored.
/mnt/games/steam/steamapps/common/This War of Mine/This War of Mine: error while loading shared libraries: libsteam_api.so: wrong ELF class: ELFCLASS64


Quote:

I don't have this particular game


Well it's challenging even to make it run, you should give it a try ;O)
_________________
Mircosoft software is like having sex with a stranger, you always have to be careful not to get infected with something...
Back to top
View user's profile Send private message
The Main Man
Veteran
Veteran


Joined: 27 Nov 2014
Posts: 1165
Location: /run/user/1000

PostPosted: Sat Dec 08, 2018 4:17 pm    Post subject: Reply with quote

But hey, you have a different error message this time, now it says it's wrong class 64

I don't know if you're on unstable gentoo (I am) so everything goes now into /usr/lib/ , there's no /usr/lib32/

Anyway, I guess that game is x64, so make sure you find libsteam_api.so that's x64 and copy it in /usr/lib64/

you can search for it with
Code:
locate libsteam_api.so


if the game is x86 then find the right one and copy it to /usr/lib32/

For example I have this one :
Code:
/home/themainman/.local/share/Steam/steamapps/common/AI War Fleet Command/AIWarLinux_Data/Plugins/x86/libsteam_api.so
/home/themainman/.local/share/Steam/steamapps/common/AI War Fleet Command/AIWarLinux_Data/Plugins/x86_64/libsteam_api.so


You'll find something similar, anyway the one from x86 goes to /usr/lib32 and the one from x86_64 to /usr/lib64

I didn't get if that game comes with libsteam_api.so already, if it does then copy that one, try first with lib64

Delete first the one you already copied to /usr/lib
Back to top
View user's profile Send private message
Linubie
Guru
Guru


Joined: 11 Jun 2004
Posts: 365

PostPosted: Sat Dec 08, 2018 7:02 pm    Post subject: Reply with quote

Most of my packages I use are stable.

My system has /usr/lib -> lib64 and /usr/lib32 so I copied

/mnt/ssdlinux/steam/steamapps/common/Kerbal Space Program/KSP_Data/Plugins/x86/libsteam_api.so to /usr/lib32
/mnt/ssdlinux/steam/steamapps/common/Kerbal Space Program/KSP_Data/Plugins/x86_64/libsteam_api.so /usr/lib

and unset export STEAM_RUNTIME=0

steam steam://rungameid/282070

Code:
GameAction [AppID 282070, ActionID 1] : LaunchApp changed task to WaitingGameWindow with ""
ERROR: ld.so: object '~/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
GameAction [AppID 282070, ActionID 1] : LaunchApp changed task to Completed with ""
ERROR: ld.so: object '~/.local/share/Steam/ubuntu12_64/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS64): ignored.
/mnt/games/steam/steamapps/common/This War of Mine/This War of Mine: error while loading shared libraries: libOpenAL.so: cannot open shared object file: No such file or directory

_________________
Mircosoft software is like having sex with a stranger, you always have to be careful not to get infected with something...
Back to top
View user's profile Send private message
Linubie
Guru
Guru


Joined: 11 Jun 2004
Posts: 365

PostPosted: Sat Dec 08, 2018 7:35 pm    Post subject: Reply with quote

Okay I found the solution:
Code:

LD_LIBRARY_PATH=/mnt/games/steam/steamapps/common/This\ War\ of\ Mine %command%


in start option from steam.
_________________
Mircosoft software is like having sex with a stranger, you always have to be careful not to get infected with something...
Back to top
View user's profile Send private message
The Main Man
Veteran
Veteran


Joined: 27 Nov 2014
Posts: 1165
Location: /run/user/1000

PostPosted: Sat Dec 08, 2018 8:32 pm    Post subject: Reply with quote

Great, you solved it, and that libsteam_api.so was solved before that, you just needed to install openal

But the main thing is that you found the solution, bizarre though, one would think that the game you're running would be on LD_LIBRARY_PATH
Steam is weird sometimes I guess :)
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gamers & Players All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum