box64: Counter Strike 2 Dedicated Server Failed to load tier0

Every time I try to launch CS2 dedicated server, I keep getting a libtier0 error but this is a steam library so I’m not sure what the problem is on my end

BOX64_LOG=1 ./cs2 -dedicated Debug level is 1 Dynarec for ARM64, with extension: ASIMD CRC32 PageSize:4096 Running on Cortex-A72 with 4 Cores` Params database has 27 entries Box64 with Dynarec v0.2.5 072311b2 built on Oct 6 2023 22:58:42 Counted 25 Env var BOX64 LIB PATH: ./:lib/:lib64/:x86_64/:bin64/:libs64/:/lib/x86_64-linux-gnu/:/usr/lib/x86_64-linux-gnu/ BOX64 BIN PATH: ./:bin/:/usr/local/sbin/:/usr/local/bin/:/usr/sbin/:/usr/bin/:/sbin/:/bin/:/usr/local/games/:/usr/games/ Looking for ./cs2 argv[1]=“-dedicated” Rename process to “cs2” Using native(wrapped) libdl.so.2 Using native(wrapped) libpthread.so.0 Using native(wrapped) libc.so.6 Using native(wrapped) ld-linux-x86-64.so.2 Using native(wrapped) libutil.so.1 Using native(wrapped) librt.so.1 Using emulated /home/farbod/cs2-ds/game/bin/linuxsteamrt64/libtier0.so Using native(wrapped) libm.so.6 Using native(wrapped) libuuid.so.1 Warning: Weak Symbol _ITM_memcpyRtWn not found, cannot apply R_X86_64_JUMP_SLOT @0x102448b58 (0xbf146) Warning: Weak Symbol _ITM_RU1 not found, cannot apply R_X86_64_JUMP_SLOT @0x102449918 (0xc0cc6) Warning: Weak Symbol _ZGTtdlPv not found, cannot apply R_X86_64_JUMP_SLOT @0x10244a1e8 (0xc1e66) Warning: Weak Symbol _ITM_RU8 not found, cannot apply R_X86_64_JUMP_SLOT @0x10244aba8 (0xc31e6) Warning: Weak Symbol _ITM_memcpyRnWt not found, cannot apply R_X86_64_JUMP_SLOT @0x10244b548 (0xc4526) Error: Symbol __isoc99_vswscanf not found, cannot apply R_X86_64_JUMP_SLOT @0x10244b598 (0xc45c6) in /home/farbod/cs2-ds/game/bin/linuxsteamrt64/libtier0.so Warning: Weak Symbol _ZGTtnam not found, cannot apply R_X86_64_JUMP_SLOT @0x10244c530 (0xc64f6) Look for pthread_yield in loaded elfs Found symbol with version GLIBC_2.17, value = 0x7fa6b947f0 Error: relocating Plt symbols in elf libtier0.so Error initializing needed lib /home/farbod/cs2-ds/game/bin/linuxsteamrt64/libtier0.so Launcher Error: FATAL: /home/farbod/cs2-ds/game/bin/linuxsteamrt64/libtier0.so not loaded dlerror(): Cannot dlopen(“/home/farbod/cs2-ds/game/bin/linuxsteamrt64/libtier0.so”/0x10201c410, 2)

Launcher Error: Failed to load tier0

About this issue

  • Original URL
  • State: open
  • Created 3 years ago
  • Comments: 23 (9 by maintainers)

Commits related to this issue

Most upvoted comments

No, not yet. I have to download the server and try myself.

Tried running the CS2 DS with Box64 with Dynarec v0.2.5 113c879d and I’m getting this:

Params database has 32 entries
Counted 13 Env var
BOX64 LIB PATH: /opt/steamcmd/cs2-ds/:./:lib/:lib64/:x86_64/:bin64/:libs64/:/lib/x86_64-linux-gnu/:/usr/lib/x86_64-linux-gnu/
BOX64 BIN PATH: ./:bin/:/usr/local/sbin/:/usr/local/bin/:/usr/sbin/:/usr/bin/:/sbin/:/bin/
Looking for cs2
argv[1]="--args"
argv[2]="-dedicated"
Rename process to "cs2"
Using native(wrapped) libdl.so.2
Using native(wrapped) libpthread.so.0
Using native(wrapped) libc.so.6
Using native(wrapped) ld-linux-x86-64.so.2
Using native(wrapped) libutil.so.1
Using native(wrapped) librt.so.1
Using emulated /opt/steamcmd/cs2-ds/game/bin/linuxsteamrt64/libtier0.so
Using native(wrapped) libm.so.6
Using native(wrapped) libuuid.so.1
Warning: Weak Symbol _ITM_memcpyRtWn not found, cannot apply R_X86_64_JUMP_SLOT @0x7fff00428b58 (0xbf146)
Warning: Weak Symbol _ITM_RU1 not found, cannot apply R_X86_64_JUMP_SLOT @0x7fff00429918 (0xc0cc6)
Warning: Weak Symbol _ZGTtdlPv not found, cannot apply R_X86_64_JUMP_SLOT @0x7fff0042a1e8 (0xc1e66)
Warning: Weak Symbol _ITM_RU8 not found, cannot apply R_X86_64_JUMP_SLOT @0x7fff0042aba8 (0xc31e6)
Warning: Weak Symbol _ITM_memcpyRnWt not found, cannot apply R_X86_64_JUMP_SLOT @0x7fff0042b548 (0xc4526)
Warning: Weak Symbol _ZGTtnam not found, cannot apply R_X86_64_JUMP_SLOT @0x7fff0042c530 (0xc64f6)
Look for pthread_yield in loaded elfs
Found symbol with version GLIBC_2.17, value = 0xffffb9fe0300
Using emulated /opt/steamcmd/cs2-ds/game/bin/linuxsteamrt64/libengine2.so
Using emulated libsteam_api.so
Redirecting overridden malloc from symtab function for libsteam_api.so
Using emulated libsteamnetworkingsockets.so
Redirecting overridden malloc from symtab function for libsteamnetworkingsockets.so
Using emulated /lib/x86_64-linux-gnu/libstdc++.so.6
Using emulated /lib/x86_64-linux-gnu/libgcc_s.so.1
Warning: Weak Symbol _ZGTtnam not found, cannot apply R_X86_64_JUMP_SLOT @0x7fff0165c838 (0x101606)
Warning: Weak Symbol _ITM_memcpyRtWn not found, cannot apply R_X86_64_JUMP_SLOT @0x7fff0165c9e0 (0x101956)
Warning: Weak Symbol _ITM_RU1 not found, cannot apply R_X86_64_JUMP_SLOT @0x7fff0165ce90 (0x1022b6)
Warning: Weak Symbol _ZGTtdlPv not found, cannot apply R_X86_64_JUMP_SLOT @0x7fff0165d450 (0x102e36)
Warning: Weak Symbol _ITM_RU8 not found, cannot apply R_X86_64_JUMP_SLOT @0x7fff0165d528 (0x102fe6)
Warning: Weak Symbol _ITM_memcpyRnWt not found, cannot apply R_X86_64_JUMP_SLOT @0x7fff0165dc48 (0x103e26)
0204|SIGSEGV @0xffffb86b9690 (???(0xffffb86b9690)) (x64pc=0x7fff0021f5cd//opt/steamcmd/cs2-ds/game/bin/linuxsteamrt64/libtier0.so:"/opt/steamcmd/cs2-ds/game/bin/linuxsteamrt64/libtier0.so + 0x21f5cd", rsp=0x10081c588, stack=0x100020000:0x100820000 own=(nil) fp=0x10081c578), for accessing 0x1c8350 (code=2/prot=0), db=0xffffb8a91b38(0xffffb86b9690:0xffffb86b9890/0x7fff0021f5cd:0x7fff0021f68a//opt/steamcmd/cs2-ds/game/bin/linuxsteamrt64/libtier0.so + 0x21f5cd:clean, hash:6a3784d1/6a3784d1) handler=(nil)
RAX:0x00000000001c8350 RCX:0x0000ffffb906a0e0 RDX:0x0000000038fd7bb0 RBX:0x0000000038fd7ae0
RSP:0x000000010081c588 RBP:0x000000010081c638 RSI:0x0000ffffb9f49980 RDI:0x0000000038fd7cc0
 R8:0x0000000000000001  R9:0x0000000000000000 R10:0x0000000000000000 R11:0x00007fff0066d088
R12:0x0000000038fd7a00 R13:0x0000ffffb906a0e0 R14:0x0000ffff80000000 R15:0x0000000038fd7d58
ES:0x002b CS:0x0033 SS:0x002b DS:0x002b FS:0x0043 GS:0x0053
RSP-0x20:0x0000ffff80000000 RSP-0x18:0x0000000038fd7d58 RSP-0x10:0x000000010081c638 RSP-0x08:0x00007fff0021fc5f
RSP+0x00:0x000000000000000f RSP+0x08:0x0000000038fd7a00 RSP+0x10:0x000000010081c608 RSP+0x18:0x00007fff00238b3a```

It’s next on my todo, but I’m on bug hunting / bug fixing for now…

54603|SIGSEGV @0x7f5c7e65c8 (???(0x7f5c7e65c8)) (x64pc=0x3f190e9474/"libv8_libcpp.so/_ZNK10__cxxabiv120__si_class_type_info27has_unambiguous_public_baseEPNS_19__dynamic_cast_infoEPvi + 0x4", rsp=0x7fb28ec880, stack=0x7fb20f0000:0x7fb28f0000 own=(nil) fp=0x7fb28ec950), for accessing 0x10 (code=1/prot=0), db=0x7f5c441be8(0x7f5c7e65c0:0x7f5c7e67f0/0x3f190e9470:0x3f190e94c9/libv8_libcpp.so/_ZNK10__cxxabiv120__si_class_type_info27has_unambiguous_public_baseEPNS_19__dynamic_cast_infoEPvi:clean, hash:4e171435/4e171435) handler=(nil)
RAX:0x0000003f19107a58 RCX:0x0000003f2373faa0 RDX:0x0000000000000006 RBX:0x00000000803c7100 
RSP:0x0000007fb28ec880 RBP:0x0000007fb28ec880 RSI:0x0000000000000000 RDI:0x0000003f23737c10 
 R8:0x00000000803c7100  R9:0x0000003f2373ef50 R10:0x0000000000000008 R11:0x0000003f238de688 
R12:0x0000003f2373faa0 R13:0x0000003f2373ef50 R14:0x0000000000000000 R15:0x0000000000000000 
ES:0x002b CS:0x0033 SS:0x002b DS:0x002b FS:0x0043 GS:0x0053 
RSP-0x20:0x0000007f4137af6b RSP-0x18:0x0000003f23448a82 RSP-0x10:0x0000007fb28ec8e0 RSP-0x08:0x0000003f232c9ee0
RSP+0x00:0x0000000000000000 RSP+0x08:0x0000003f015a8a06 RSP+0x10:0x00000000803c7100 RSP+0x18:0x0000007fb28ec8a0
Segmentation fault

Different error. Would love for this to work.

Any update? Also getting the same error:

Box64 with Dynarec v0.2.7 d0edf2e8

game@high:~/steamcmd/cs2/game/bin/linuxsteamrt64$ ./cs2 -dedicated
Dynarec for ARM64, with extension: ASIMD AES CRC32 PMULL ATOMICS SHA1 SHA2 PageSize:4096 Running on Neoverse-N1 with 4 Cores
Params database has 59 entries
Box64 with Dynarec v0.2.7 d0edf2e8 built on Mar  4 2024 07:06:52
BOX64: Detected 48bits at least of address space
Counted 15 Env var
BOX64 LIB PATH: ./:lib/:lib64/:x86_64/:bin64/:libs64/:/lib/x86_64-linux-gnu/:/usr/lib/x86_64-linux-gnu/:/usr/x86_64-linux-gnu/lib/
BOX64 BIN PATH: ./:bin/:/usr/local/bin/:/usr/bin/:/bin/:/usr/local/games/:/usr/games/
Looking for ./cs2
argv[1]="-dedicated"
Rename process to "cs2"
Using native(wrapped) libdl.so.2
Using native(wrapped) libpthread.so.0
Using native(wrapped) libc.so.6
Using native(wrapped) ld-linux-x86-64.so.2
Using native(wrapped) libutil.so.1
Using native(wrapped) librt.so.1
Using native(wrapped) libbsd.so.0
Using emulated /home/game/steamcmd/cs2/game/bin/linuxsteamrt64/libtier0.so
Using native(wrapped) libm.so.6
Using native(wrapped) libuuid.so.1
Warning: Weak Symbol _ITM_memcpyRtWn not found, cannot apply R_X86_64_JUMP_SLOT @0x7fff00431b40 (0xc0156)
Warning: Weak Symbol _ITM_RU1 not found, cannot apply R_X86_64_JUMP_SLOT @0x7fff004328f8 (0xc1cc6)
Warning: Weak Symbol _ZGTtdlPv not found, cannot apply R_X86_64_JUMP_SLOT @0x7fff004331e0 (0xc2e96)
Warning: Weak Symbol _ITM_RU8 not found, cannot apply R_X86_64_JUMP_SLOT @0x7fff00433b88 (0xc41e6)
Warning: Weak Symbol _ITM_memcpyRnWt not found, cannot apply R_X86_64_JUMP_SLOT @0x7fff00434538 (0xc5546)
Warning: Weak Symbol _ZGTtnam not found, cannot apply R_X86_64_JUMP_SLOT @0x7fff00435530 (0xc7536)
Look for pthread_yield in loaded elfs
Found symbol with version GLIBC_2.17, value = 0xffffa5760cc0
Using emulated /home/game/steamcmd/cs2/game/bin/linuxsteamrt64/libengine2.so
Using emulated libsteam_api.so
Using emulated libsteamnetworkingsockets.so
Using emulated /lib/x86_64-linux-gnu/libstdc++.so.6
Using emulated /lib/x86_64-linux-gnu/libgcc_s.so.1
Warning: Weak Symbol _ZGTtnam not found, cannot apply R_X86_64_JUMP_SLOT @0x7fff016cbe60 (0x108696)
Warning: Weak Symbol _ITM_memcpyRtWn not found, cannot apply R_X86_64_JUMP_SLOT @0x7fff016cc060 (0x108a96)
Warning: Weak Symbol _ITM_RU1 not found, cannot apply R_X86_64_JUMP_SLOT @0x7fff016cc590 (0x1094f6)
Warning: Weak Symbol _ZGTtdlPv not found, cannot apply R_X86_64_JUMP_SLOT @0x7fff016ccc48 (0x10a266)
Warning: Weak Symbol _ITM_RU8 not found, cannot apply R_X86_64_JUMP_SLOT @0x7fff016ccd40 (0x10a456)
Warning: Weak Symbol _ITM_memcpyRnWt not found, cannot apply R_X86_64_JUMP_SLOT @0x7fff016cd598 (0x10b506)
15921|SIGSEGV @0xffffa39efd78 (???(0xffffa39efd78)) (x64pc=0x7fff00227a7d//home/game/steamcmd/cs2/game/bin/linuxsteamrt64/libtier0.so:"/home/game/steamcmd/cs2/game/bin/linuxsteamrt64/libtier0.so + 0x227a7d", rsp=0xffffa548cda0, stack=0xffffa4c90000:0xffffa5490000 own=(nil) fp=0xffffa548cd90), for accessing 0xbc38 (code=1/prot=0), db=0xffffa3c6b748(0xffffa39efd78:0xffffa39eff78/0x7fff00227a7d:0x7fff00227b3a//home/game/steamcmd/cs2/game/bin/linuxsteamrt64/libtier0.so + 0x227a7d:clean, hash:200d0513/200d0513) handler=(nil)
RAX:0x000000000000bc38 RCX:0x00007fff01787fa0 RDX:0x00000000529180f0 RBX:0x0000000052918000 
RSP:0x0000ffffa548cda0 RBP:0x0000ffffa548ce50 RSI:0x0000ffffa56c9ec0 RDI:0x0000000052918200 
 R8:0x0000000000000001  R9:0x0000000000000000 R10:0x00007fff00678780 R11:0x00007fff005762b8 
R12:0x0000000052917f40 R13:0x00007fff01787fa0 R14:0x00007fff00000000 R15:0x0000000052918298 
ES:0x002b CS:0x0033 SS:0x002b DS:0x002b FS:0x0043 GS:0x0053 
RSP-0x20:0x00007fff00000000 RSP-0x18:0x0000000052918298 RSP-0x10:0x0000ffffa548ce50 RSP-0x08:0x00007fff0022810f
RSP+0x00:0x0000000000000000 RSP+0x08:0x0000000000000000 RSP+0x10:0x0000000000000000 RSP+0x18:0x00007fff00321dc8
Segmentation fault

Ok, I fixed the issue with box86. Latest version should work just fine now. I’ll try to check the CS2 server issue later.

Just to note, box86 is not compatible with SSE4.2 yet (not even SSE4.1). I did added AES-NI and another extention this week end tho.