Closed Kiteflow closed 3 years ago
Just change the directory to ur /root/.steam/steamapps/common/U3DS/Linux64/steamclient.so Be careful with capitals too...
Are you using steamcmd (recommended) to download/update the dedicated server? By default steamcmd should be including and keeping those files up to date.
Closing, but feel free to comment and I will re-open.
I am having the same issue. I made a server before (4 months ago) and it all worked alright first try.
At first, I tried to make a second instance using the same game files but it crashed the first server which was running. After that, I downloaded the entire server to a different folder, tried there, and got the issue mentioned here. Lastly, I tried to download to a whole different user, and still no success.
@Hagvan getting this error after copying the game to a different folder would suggest it cannot find the Steam libraries anymore. One option would be to copy within the steamapps folder so that the relative path is the same.
I didn't copy it though, I installed another server using force_install_dir.
Hmm maybe only the regular Steam client can find the Steam install dir... anyway, one workaround might be to direct force_install_dir to the steamapps folder.
Though Steam should be downloading steamclient.so into the U3DS/linux64 directory as well, so I wonder are you using the force 32-bit option as well? (Unturned dedicated server is 64-bit only)
Howdy, just ran into this issue tonight. I took a wild guess that it was looking for this file: /.steam/steamcmd/linux64/steamclient.so Made the /.steam/sdk64 directory and copied that file to it. It worked. 👍🏻
We are looking at the second error, but more important is the first one. Unturned x64 is distributed with steamclient.so x86. Replacing it with 64bit version (from steamcmd files) makes it working again. Tested on Ubuntu 20.04 (server)
cp ~/.steam/steam/linux64/steamclient.so ~/.steam/steam/linux64/
i just made a symbolic link to the actual location of the file in the directory it was trying to look in, because i was using a snap pack (ik, I'm sorry, i was just trying to download steam asap), and it worked ln -sr source_.steam the_location_its_askingfor.steam
[S_API] SteamAPI_Init(): Loaded '/home/wistox07/.steam/sdk64/steamclient.so' OK.
my solution
log in as root
su root cd /home/steam steamcmd ...it will download files again exit
we must create the .steam and sdk64 folder
cd /root mkdir .steam cd .steam mkdir sdk64
ln -s /root/.local/share/Steam/steamcmd/linux64/steamclient.so /root/.steam/sdk64/
This issue is still occurring, any plans to fix this? Why is the issue closed?
Same issue here.
SwitchToLoop levelload requested: id [2] addons [] SV: Level loading started for 'de_mirage' CL: CLoopModeLevelLoad::MaybeSwitchToGameLoop switching to "game" loopmode with addons () SwitchToLoop game requested: id [2] addons [] SteamGameServer_Init() dlopen failed trying to load: steamclient.so with error: steamclient.so: cannot open shared object file: No such file or directory dlopen failed trying to load: /home/ubuntu/.steam/sdk64/steamclient.so with error: /home/ubuntu/.steam/sdk64/steamclient.so: cannot open shared object file: No such file or directory [S_API] SteamAPI_Init(): Failed to load module '/home/ubuntu/.steam/sdk64/steamclient.so' Failed to initialize Steamworks SDK for gameserver. Failed to load module '/home/ubuntu/. steam/sdk64/steamclient.so' 0 Failed to initialize Steamworks SDK for gameserver. Failed to load module '/home/ubunt u/.steam/sdk64/steamclient.so'
Segmentation fault (core dumped)
Same issue here.
But its Unturned related thread not CS2
Yep. Bug still exists.
Hi there, I keep on experiencing errors when trying to run my unturned server on Ubuntu. I've tried Ubuntu 16.04, 18.04 and 20.04 and it is all the same error.
I've checked and there doesn't appear to be a /.steam/sdk64 folder, so I don't know what the issue could be
Thanks