question

melihduman74 avatar image
melihduman74 asked

Linux and Steam Integration Problem

Hi, I have a Linux Server build. My matchmaking algoritm is working well in test project. But I tried with my actual game which uses Steam API, I couldn't join the server. I looked on Unreal's forum and see exact my issue. He/she fixed with adding Steam dll's. But I don't know how to add .dll's into Linux build. Can someone help me? I'm adding Linux Server logs below.

 {"log":"sh: 1: xdg-user-dir: not found\n","stream":"stderr","time":"2023-01-09T14:25:57.076360344Z"}
 {"log":"dlopen failed trying to load:\n","stream":"stderr","time":"2023-01-09T14:25:57.195763422Z"}
 {"log":"steamclient.so\n","stream":"stderr","time":"2023-01-09T14:25:57.195782922Z"}
 {"log":"with error:\n","stream":"stderr","time":"2023-01-09T14:25:57.195787222Z"}
 {"log":"steamclient.so: cannot open shared object file: No such file or directory\n","stream":"stderr","time":"2023-01-09T14:25:57.195827922Z"}
 {"log":"dlopen failed trying to load:\n","stream":"stderr","time":"2023-01-09T14:25:57.196123524Z"}
 {"log":"/home/ue/.steam/sdk64/steamclient.so\n","stream":"stderr","time":"2023-01-09T14:25:57.196130524Z"}
 {"log":"with error:\n","stream":"stderr","time":"2023-01-09T14:25:57.196133824Z"}
 {"log":"/home/ue/.steam/sdk64/steamclient.so: cannot open shared object file: No such file or directory\n","stream":"stderr","time":"2023-01-09T14:25:57.196136624Z"}
 {"log":"[S_API] SteamAPI_Init(): Sys_LoadModule failed to load: /home/ue/.steam/sdk64/steamclient.so\n","stream":"stderr","time":"2023-01-09T14:25:57.196139724Z"}
 {"log":"dlopen failed trying to load:\n","stream":"stderr","time":"2023-01-09T14:25:57.692564425Z"}
 {"log":"steamclient.so\n","stream":"stderr","time":"2023-01-09T14:25:57.692601325Z"}
 {"log":"with error:\n","stream":"stderr","time":"2023-01-09T14:25:57.692605425Z"}
 {"log":"steamclient.so: cannot open shared object file: No such file or directory\n","stream":"stderr","time":"2023-01-09T14:25:57.692608825Z"}
 {"log":"dlopen failed trying to load:\n","stream":"stderr","time":"2023-01-09T14:25:57.692660826Z"}
 {"log":"/home/ue/.steam/sdk64/steamclient.so\n","stream":"stderr","time":"2023-01-09T14:25:57.692665826Z"}
 {"log":"with error:\n","stream":"stderr","time":"2023-01-09T14:25:57.692669026Z"}
 {"log":"/home/ue/.steam/sdk64/steamclient.so: cannot open shared object file: No such file or directory\n","stream":"stderr","time":"2023-01-09T14:25:57.692671926Z"}
 {"log":"[S_API] SteamAPI_Init(): Sys_LoadModule failed to load: /home/ue/.steam/sdk64/steamclient.so\n","stream":"stderr","time":"2023-01-09T14:25:57.692675126Z"}
sdksunreal
10 |1200

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

1 Answer

·
Xiao Zha avatar image
Xiao Zha answered

DLL files in Windows are the shared object (.so) files in Linux. Currently, PlayFab only provide ListDLLS( Determining required DLLs for Windows game servers - PlayFab | Microsoft Learn) to check the required DLLs of the program running on Windows.

Your server error log "steamclient.so: cannot open shared object file: No such file or directory\n" shows that the steamclient .so file is not included in your server build, you may find the file and paste it to your server build.

2 comments
10 |1200

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

melihduman74 avatar image melihduman74 commented ·

Thanks for answer. I put steamclient.so in server build but it's not working. Because it's looking for "/home/ue/.steam/sdk64/steamclient.so" file, not my server folder. So I need to do link those 2 folders somehow. Since I don't know anything about Linux, it'll be great challenge. :=)

0 Likes 0 ·
Xiao Zha avatar image Xiao Zha melihduman74 commented ·

Sorry for the late reply. You can try to find the file path "/LinuxServer/TestGameName/Binaries/Linux" in your server build and paste the 64bit steamclient.so into this path.

0 Likes 0 ·

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.