# Linux Dedicated Server "libsteam\_api.so" no such file or directory

**URL:** <https://forums.unrealengine.com/t/linux-dedicated-server-libsteam-api-so-no-such-file-or-directory/457327>\
**Category:** Platform & Builds\
**Tags:** dedicated-server, ubuntu, Linux, unreal-engine, question\
**Created:** [October 22, 2019, 1:04pm UTC](https://forums.unrealengine.com/t/linux-dedicated-server-libsteam-api-so-no-such-file-or-directory/457327 "2019-10-22T13:04:12Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![anonymous\_user\_4f79b2b81](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_4f79b2b81](https://forums.unrealengine.com/u/anonymous_user_4f79b2b81)\
**Post date:** [October 22, 2019, 1:04pm UTC](https://forums.unrealengine.com/t/linux-dedicated-server-libsteam-api-so-no-such-file-or-directory/457327/1 "2019-10-22T13:04:12Z")

</div>

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 🙂

 ![290748-capture.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/0/2/4/0245c871bebbaa4e4018410f585aded0101cbf83.png)

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_4f79b2b81](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_4f79b2b81](https://forums.unrealengine.com/u/anonymous_user_4f79b2b81)\
**Post date:** [October 24, 2019, 10:25am UTC](https://forums.unrealengine.com/t/linux-dedicated-server-libsteam-api-so-no-such-file-or-directory/457327/2 "2019-10-24T10:25:32Z")

</div>

Issue was due not creating a non-root linux user to run the binaries on.

---

<div class="post-metadata">

**Author:** ![lixs74](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/lixs74/32/88713_2.png) [@lixs74](https://forums.unrealengine.com/u/lixs74)\
**Post date:** [August 3, 2021, 9:43pm UTC](https://forums.unrealengine.com/t/linux-dedicated-server-libsteam-api-so-no-such-file-or-directory/457327/3 "2021-08-03T21:43:36Z")

</div>

Topic is old, but how did you manage to fix that, creating a non-root Linux user to run the binaries?

Thank you!

---

<div class="post-metadata">

**Author:** ![Reuben\_Ward](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Reuben\_Ward](https://forums.unrealengine.com/u/Reuben_Ward)\
**Post date:** [August 3, 2021, 10:40pm UTC](https://forums.unrealengine.com/t/linux-dedicated-server-libsteam-api-so-no-such-file-or-directory/457327/4 "2021-08-03T22:40:03Z")

</div>

I asked my flatmate who is far more knowledgeable on linux than me 😉 Sorry I have no idea

---

<div class="post-metadata">

**Author:** ![smartin2951](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@smartin2951](https://forums.unrealengine.com/u/smartin2951)\
**Post date:** [July 19, 2022, 3:35am UTC](https://forums.unrealengine.com/t/linux-dedicated-server-libsteam-api-so-no-such-file-or-directory/457327/5 "2022-07-19T03:35:45Z")

</div>

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 🙂
