TShock
TShock copied to clipboard
Segmentation fault
我下载了arm64 5.1.3的Releases后,解压打开后给了TShock.Server权限运行后提示需要.NET 6.0.0 于是安装.NET 6.0.0后,我再次运行./TShock.Server就报错了
A fatal error was encountered. The library 'libhostpolicy.so' required to execut e the application was not found in '/udisk/tshock/.dotnet/shared/Microsoft.NETCo re.App/6.0.12'.
我删掉了整个目录重新下载了一边,再次运行,得到
root@openstick:/udisk/tr# ./TShock.Server
Segmentation fault
root@openstick:/udisk/tr#
Can you try uname -a
?
Can you try
uname -a
?
root@openstick:~# uname -a
Linux openstick 5.15.0-handsomekernel+ #17 SMP PREEMPT Sun Feb 6 22:10:37 CST 2022 aarch64 GNU/Linux
root@openstick:~#
我的架构是aarch64,我安装的tshock的架构是arm64
aarch64和arm64是同一个东西 你可以在这里看到: https://unix.stackexchange.com/questions/461179/what-is-the-difference-between-different-implemetation-of-arm64-aarch64-for-linu#:~:text=arm64%20vs.,-aarch64&text=AArch64%20is%20the%2064%2Dbit,64%2Dbit%20ISA%20is%20aarch64.&text=So%20aarch64%20and%20arm64%20refer%20to%20the%20same%20thing.
Where did you install dotnet from? (Is it via Snap?)
Where did you install dotnet from? (Is it via Snap?)
https://dotnet.microsoft.com/download/dotnet/6.0
Hmmm.... Somehow sounds like the problem comes from the native part rather than TShock.
Can you run dotnet --list-runtimes
or try the dev version which contains a TShock.Installer
?
Hmmm.... Somehow sounds like the problem comes from the native part rather than TShock. Can you run
dotnet --list-runtimes
or try the dev version which contains aTShock.Installer
?
root@openstick:/udisk/tr/.dotnet# ./dotnet --list-runtimes
Microsoft.AspNetCore.App 6.0.12 [/udisk/tr/.dotnet/shared/Microsoft.AspNetCore.App]
Microsoft.NETCore.App 6.0.12 [/udisk/tr/.dotnet/shared/Microsoft.NETCore.App]
root@openstick:/udisk/tr/.dotnet#
硬盘坏了吧?