# UBT Error: failed to compile Niagara Plugin on Ubuntu

**URL:** <https://forums.unrealengine.com/t/ubt-error-failed-to-compile-niagara-plugin-on-ubuntu/433068>\
**Category:** FX\
**Tags:** unreal-engine, ubt, compile-error, UE4, question, compilation-log\
**Created:** [September 4, 2018, 1:23pm UTC](https://forums.unrealengine.com/t/ubt-error-failed-to-compile-niagara-plugin-on-ubuntu/433068 "2018-09-04T13:23:39Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![anonymous\_user\_97e5959e](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_97e5959e](https://forums.unrealengine.com/u/anonymous_user_97e5959e)\
**Post date:** [September 4, 2018, 1:23pm UTC](https://forums.unrealengine.com/t/ubt-error-failed-to-compile-niagara-plugin-on-ubuntu/433068/1 "2018-09-04T13:23:39Z")

</div>

After I determined to compile Unreal Engine on Ubuntu 18.04, I sure did run into quite a few problems, some being system-wide freezes and overall failures.  
And now I was almost complete (I hope I was) that a new Error popped up.

```
[837/840] Link (ld) libUE4Editor-XGEController.so
ERROR: UBT ERROR: Failed to produce item: /opt/UnrealEngine/Engine/Plugins/FX/Niagara/Binaries/Linux/libUE4Editor-Niagara.so
       (see ../Programs/UnrealBuildTool/Log.txt for full exception trace)
Total build time: 5935.24 seconds (Local executor: 0.00 seconds)
Makefile:188: recipe for target 'UE4Editor' failed
make: *** [UE4Editor] Error 5

```

Google search, not much helpful. Most of the problems occurred to users were after compile, and during actual game building.

Full log [click here](https://gist.githubusercontent.com/vdevel00/c9de69cb804157231bbdd4bda3231bdd/raw/74034399472027f81ffabd729a1f16ae3454ce57/fullbuildlog.txt)  
Shortened log [click here](https://gist.githubusercontent.com/vdevel00/3f69405041e7852f277c6e8d3cf8a42e/raw/72097b45028972f9a57f3c5a1c1a155a8bb4febe/shortbuildlog.txt)
