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!