I have packaged my dedicated server by cross compiling and am now trying to run my dedicated server on an ubuntu machine with Digital Ocean.
When I try run my dedicated server. I get the following error:
./SurvivalServer: error while loading shared libraries: libsteam_api.so: cannot open shared object file: No such file or directory
libsteam_api.so appears to be in my files, I can find it under Engine\Binaries\ThirdParty\Steamworks\Steamv142\x86_64-unknown-linux-gnu
Please help!! Thank you
Issue was due not creating a non-root linux user to run the binaries on.
I asked my flatmate who is far more knowledgeable on linux than me Sorry I have no idea
lixs74
4
Topic is old, but how did you manage to fix that, creating a non-root Linux user to run the binaries?
Thank you!
Just in case anybody is stuck on this, I was able to get it to work by using:
sudo -R serveracc:serveracc ~
I needed to give ownership of the root directory to the account we setup.
Reuben, great guide