# Missing libraries on Linux (cross-compiled)

**URL:** <https://forums.unrealengine.com/t/missing-libraries-on-linux-cross-compiled/461743>\
**Category:** Platform & Builds\
**Tags:** libraries, linux-server, unreal-engine, UE4, question\
**Created:** [February 14, 2020, 1:10pm UTC](https://forums.unrealengine.com/t/missing-libraries-on-linux-cross-compiled/461743 "2020-02-14T13:10:10Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Broch](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Broch](https://forums.unrealengine.com/u/Broch)\
**Post date:** [February 14, 2020, 1:10pm UTC](https://forums.unrealengine.com/t/missing-libraries-on-linux-cross-compiled/461743/1 "2020-02-14T13:10:10Z")

</div>

Hi,

I cross compiled my project to run it on Linux (Debian 10.2). This is the server version of the project. The compilation seems to work but when I try to run the server (./GameServer-Linux-Shipping -log) I get the following error :  
“error while loading shared libraries: libApexFramework.so: cannot open shared object file: No such file or directory”

From my understanding, this concerns a Nvidia library used for physics.

This is pretty clear some libraries are missing, but I have some questions about it :

- Where can I get this library for my Linux server ? And where should I put those libraries ?
- Is there a way to include it in my packaged server ?
- If I don’t use Apex destruction, can I remove this dependency from my project ? How ? Maybe by disabling the plugin ? (I didn’t test this yet)

Any answer will be appreciated. Thanks 🙂

---

<div class="post-metadata">

**Author:** ![auzilMan](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@auzilMan](https://forums.unrealengine.com/u/auzilMan)\
**Post date:** [June 28, 2023, 3:39pm UTC](https://forums.unrealengine.com/t/missing-libraries-on-linux-cross-compiled/461743/2 "2023-06-28T15:39:43Z")

</div>

Hello, have you found the reason? Struggling with the similar problem

---

<div class="post-metadata">

**Author:** ![Broch](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Broch](https://forums.unrealengine.com/u/Broch)\
**Post date:** [August 24, 2023, 12:32am UTC](https://forums.unrealengine.com/t/missing-libraries-on-linux-cross-compiled/461743/3 "2023-08-24T00:32:15Z")

</div>

Hey,

It was 3 years ago but from what i remember my packaged project was missing this folder :  
`LinuxNoEditor/Engine/Binaries/ThirdParty/PhysX3/Linux/x86_64-unknown-linux-gnu/`  
with these files :  
`libAPEX_Clothing.so``libApexCommon.so``libApexFramework.so``libAPEX_Legacy.so``libApexShared.so``libNvParameterized.so``libRenderDebug.so`

So I think I found them in :  
`UnrealEngineFolder\Engine\Binaries\ThirdParty\PhysX3\Linux\x86_64-unknown-linux-gnu\`  
Then copied them to my package folder.

Hope it will solve your problem.

The issue was on UE 4.26.2 btw
