我有一台运行 Ubuntu 的无头 Linux 服务器,我通过 ssh 连接到它。我在其上运行各种服务器程序,例如用于 Minecraft 的 papermc。
我正在尝试为 Half-Life 设置 HLDS 服务器。我已安装 SteamCMD,并将 HLDS 和 Half-Life 本身下载到我的主文件夹中的新目录中。我的主文件夹中有一个“Steam”文件夹,其中安装了 SteamCMD,还有一个“hlds”文件夹,其中安装了游戏文件。
但是,每当我尝试运行服务器时,都会出现相同的错误,提示我 Steam 未运行。我该如何修复此问题?
Console initialized.
Using breakpad crash handler
Setting breakpad minidump AppID = 70
Forcing breakpad minidump interfaces to load
dlopen failed trying to load:
/home/mrmanager/.steam/sdk32/steamclient.so
with error:
/home/mrmanager/.steam/sdk32/steamclient.so: cannot open shared object file: No such file or directory
dlopen failed trying to load:
steamclient.so
with error:
steamclient.so: cannot open shared object file: No such file or directory
Protocol version 48
Exe version 1.1.2.2/Stdio (valve)
Exe build: 07:36:33 Jul 12 2023 (3378)
STEAM Auth Server
Server IP address 127.0.1.1:27015
[S_API FAIL] SteamAPI_Init() failed; SteamAPI_IsSteamRunning() failed.
dlopen failed trying to load:
steamclient.so
with error:
steamclient.so: cannot open shared object file: No such file or directory
[S_API FAIL] SteamAPI_Init() failed; unable to locate a running instance of Steam, or a local steamclient.dll.
FATAL ERROR (shutting down): Unable to initialize Steam.
Segmentation fault (core dumped)