dedi server on linux - can't load steamclient.so

Post Reply
Spieker
Posts: 25
Joined: 02 Jun 2017 15:13

dedi server on linux - can't load steamclient.so

#1 Post by Spieker » 08 Dec 2022 18:17

Hi folks,

I'm trying to set up a dedicated server on a headless linux server. I installed steamcmd and the server, but upon starting eurotrucks2_server, I get the following error message:

Code: Select all

[MP] Server 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/julian/.steam/sdk64/steamclient.so
with error:
/home/julian/.steam/sdk64/steamclient.so: cannot open shared object file: No such file or directory
[S_API] SteamAPI_Init(): Sys_LoadModule failed to load: /home/julian/.steam/sdk64/steamclient.so
*** ERROR *** : [MP] Error: Failed to init game server. Please check that requested ports are available and steam libraries are present. See readme.txt for more details.
*** ERROR *** : [MP] Error: Failed to init server.
quit
I made a symlink in .steam/sdk64 as described in the server_readme. As you can see, it shows up how it's supposed to, in the seemingly correct location.

Code: Select all

julian@ubuntuserver:~/.steam$ ls -lah /home/julian/.steam/sdk64/
total 8.0K
drwxrwxr-x  2 julian julian 4.0K Dec  8 18:03 .
drwxrwxr-x 10 julian julian 4.0K Dec  8 17:47 ..
lrwxrwxrwx  1 julian julian   31 Dec  8 18:03 steamclient.so -> steamcmd/linux64/steamclient.so
Can anyone point me to the right direction? I can't figure out what's wrong here.

Regards
Beregor
Posts: 71
Joined: 13 Mar 2017 09:07

Re: dedi server on linux - can't load steamclient.so

#2 Post by Beregor » 08 Dec 2022 21:53

ln -s /usr/games/steamcmd steamcmd
Spieker
Posts: 25
Joined: 02 Jun 2017 15:13

Re: dedi server on linux - can't load steamclient.so

#3 Post by Spieker » 09 Dec 2022 13:36

ok, I figured it out.
I changed the server_launch.sh script to the following:

Code: Select all

#! /bin/sh
LD_LIBRARY_PATH='$ORIGIN/../../linux64' ./bin/linux_x64/eurotrucks2_server
Now it works.
Post Reply

Return to “Technical Problems”

Who is online

Users browsing this forum: No registered users and 5 guests