Surviving Mars not starting
Steam Linux version of Surviving Mars:
Dynarec for ARM64, with extension: ASIMD AES CRC32 PMULL PageSize:4096
Box64 with Dynarec v0.1.3 3df01a1 built on Sep 4 2021 11:13:40
BOX64_LD_LIBRARY_PATH: /media/firlaev-hans/HDDEXT4/lib/x86_64-linux-gnu/
Using default BOX64_PATH: ./:bin/
Counted 58 Env var
Looking for ./MarsSteam
Using native(wrapped) libpthread.so.0
Using native(wrapped) libdl.so.2
Using native(wrapped) libcurl-gnutls.so.4
Using native(wrapped) libopenal.so.1
Using native(wrapped) libssl.so.1
Using native(wrapped) libcrypto.so.1
Using native(wrapped) libX11.so.6
Using native(wrapped) libXext.so.6
Using native(wrapped) libxcb.so.1
Using native(wrapped) libXau.so.6
Using native(wrapped) libXdmcp.so.6
Using native(wrapped) libXrender.so.1
Using native(wrapped) libXrandr.so.2
Using native(wrapped) libXt.so.6
Using native(wrapped) libSDL2-2.0.so.0
Using native(wrapped) libm.so.6
Using native(wrapped) librt.so.1
Using emulated libpops_api.so
Using emulated libsteam_api.so
Using emulated /lib/x86_64-linux-gnu/libstdc++.so.6
Using emulated /lib/x86_64-linux-gnu/libgcc_s.so.1
Using native(wrapped) libc.so.6
Using native(wrapped) ld-linux-x86-64.so.2
Using native(wrapped) libz.so.1
Using native(wrapped) libresolv.so.2
Using native(wrapped) libuuid.so.1
Warning, function ssl_session_dup not found in lib libssl.so.1
Warning, function d2i_EC_PRIVATEKEY not found in lib libcrypto.so.1
Error: Unsupported Syscall 0x38h (56)
It's still hanging on something:
Debug level is 1
Dynarec log level is 1
Dynarec for ARM64, with extension: ASIMD AES CRC32 PMULL PageSize:4096
Box64 with Dynarec v0.1.3 0a343b7 built on Sep 4 2021 13:53:52
BOX64_LD_LIBRARY_PATH: /media/firlaev-hans/HDDEXT4/lib/x86_64-linux-gnu/
Using default BOX64_PATH: ./:bin/
Counted 58 Env var
Looking for ./MarsSteam
Using native(wrapped) libpthread.so.0
Using native(wrapped) libdl.so.2
Using native(wrapped) libcurl-gnutls.so.4
Using native(wrapped) libopenal.so.1
Using native(wrapped) libssl.so.1
Using native(wrapped) libcrypto.so.1
Using native(wrapped) libX11.so.6
Using native(wrapped) libXext.so.6
Using native(wrapped) libxcb.so.1
Using native(wrapped) libXau.so.6
Using native(wrapped) libXdmcp.so.6
Using native(wrapped) libXrender.so.1
Using native(wrapped) libXrandr.so.2
Using native(wrapped) libXt.so.6
Using native(wrapped) libSDL2-2.0.so.0
Using native(wrapped) libm.so.6
Using native(wrapped) librt.so.1
Using emulated libpops_api.so
Using emulated libsteam_api.so
Using emulated /lib/x86_64-linux-gnu/libstdc++.so.6
Using emulated /lib/x86_64-linux-gnu/libgcc_s.so.1
Using native(wrapped) libc.so.6
Using native(wrapped) ld-linux-x86-64.so.2
Using native(wrapped) libz.so.1
Using native(wrapped) libresolv.so.2
Using native(wrapped) libuuid.so.1
Warning, function ssl_session_dup not found in lib libssl.so.1
Warning, function d2i_EC_PRIVATEKEY not found in lib libcrypto.so.1
Address (nil) not found in Elf memory and is not a native call wrapper
Warning, jumping to a no-block address (nil) from 0x7fa32b5a1c (db=0x90d3c1c0, x64addr=0xaea9b7)
Address (nil) not found in Elf memory and is not a native call wrapper
Ask to run at NULL, quit silently
Try to use emulated libssl.so.1 and libcrypto.so.1. The native versions on your system don't seems to match the one needed by the game.
How can I do that / What am I doing wrong?
I used the argument BOX64_EMULATED_LIBS=libssl.so.1:libcrypto.so.1 and in the log it says
BOX64_LD_LIBRARY_PATH: /media/e41e5b5b-a401-485e-95a3-0b2c4e3efde0/lib/x86_64-linux-gnu/
BOX64 will force the used of emulated libs for libssl.so.1 libcrypto.so.1
but then
Using native(wrapped) libssl.so.1
Using native(wrapped) libcrypto.so.1
even though the x86_64 versions of those libs are in the BOX64_LD_LIBRARY_PATH
I'm unsure what going wrong. What you describe seems correct. Try to run with BOX64_LOG=2 to have more details on the lib loading part, among other things...
Well, I don't see anything special here:
Trying to add "libssl.so.1.1" to maplib
Trying to load "libssl.so.1.1"
Simplified name is "libssl.so.1"
Using native(wrapped) libssl.so.1
Trying to add "libcrypto.so.1.1" to maplib
Trying to load "libcrypto.so.1.1"
Simplified name is "libcrypto.so.1"
Using native(wrapped) libcrypto.so.1
Full log: log2.txt
Does forcing emulated libs work on your side? Maybe it got broken somehow.
Try with BOX64_EMULATED_LIBS=libssl.so.1.1:libcrypto.so.1.1
Nope, doesn't help. Neither does leaving away the .1 completely.
And you have a x86_64 version of libssl.so.1.1 available? I'll try on my side, this is not the first time wrapped libssl and libcrypto are a problem.
Oh, so while I did have libssl.so.1 and libcrypto.so.1, the full version was actually 1.0.0 for both, not 1.1.
I tried it again with 1.1 and the libraries are now emulated, but the game still hangs:
Log_level1.txt
Log_level2.txt
Is this fixed now?
Segfaults after failing to find "libproviders.so". I don't know where to find that and don't have the time to look further into this, but the game isn't launching for me yet.
Yeah, it's not working on my side too. I'll do some checking.
So, after adding libssl and libcrypto 1.0.0, and fixing an issue with libGL wrapping, it's now working on my side. Can you try again after updating box64?
@Firlaev-Hans Surviving Mars should work now. Feel free to re-open this GitHub Issue if you continue to have any other issues. Closing as resolved.