Python custom libraries work only with LD_PRELOAD

Hi,

I’m having a other libraries which I like to import into Python.
Although when I try this I alwalys get the error that the python file can’t load the lib***.so. When I add the environment variable export LD_PRELOAD="path/to/lib/lib***.so" this works fine.

I was wondering how to set up the engine that it provides these paths on startup without manually configuring the environment before starting up Unreal. Setting RuntimeLibraryPath and PublicRuntimeDependency in the Python.Build.cs or PythonScriptPluginPreload.Build.cs didn’t do anything for me.

Do you have any idea where I can hook myself into the engine to add a runtime path for the python plugin?

Cheers!

Libraries are non-volatile piece of code widely used by programmers and created by programmers too for speeding up the workflow specially when you are in phase to develop sort of applications. As a web developer NursingEssays.CO.UK from these libraries contain codes which may be modified for the purpose and requirements you need for concerning project.