Missing libraries on Linux (cross-compiled)

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 :slight_smile:

1 Like

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

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