Unity 2019.1.0f2 DllNotFoundException: Unable to load the unmanaged library (Burst)

I’ve just updated my project to 2019.1.0f2 and I keep getting an error about the Burst Compiler package, even though I’m not using the burst compiler.
The errors are as follows:

and

I have tried the following to fix issue:

  • Installing Burst from package manager
  • Rebuilding Library folder

Both didn’t help. I have also opened this project on my Windows machine and the issue is no present.

Is anyone else having this issue, or any ideas on how I can fix this?
Thanks in advance for any help :slight_smile:

Reason: libtinfo.so.5: cannot open shared object file: No such file or directory

That looks to be the issue.

I was also having this issue and have fixed it by installing ncurses5-compat-libs

I was on Manjaro so could get it from the AUR: AUR (en) - ncurses5-compat-libs

2 Likes

If you using Ubuntu or Debian, install the libc6-dev package.

sudo apt install libc6-dev-amd64

At least it fixed it for me.

There is also a libncurses-dev package available, you may install this instead to be sure.

1 Like

I had a new install and ran into this error again. Tried above options, but libncurses5 package is what seemed to have fixed it or maybe a combination of what you guys mentioned, I’m not actually sure, but its fixed now :slight_smile: Thanks for the help.

1 Like

I have same issue on Ubuntu 19.04 and burst v1.1.1

and did it any of the above packages work for you?

Yeah, I tried install package ncurses5-compat-libs and libc6-dev-amd64 but not work :cry:

what about libncurses5 worked for me fine on Ubuntu 19.04 and Debian 10

2 Likes

Oh, I installed “libncurses5” and now worked. Thanks

2 Likes
sudo dnf install ncurses

Resolved the … /com.unity.burst@1.x.x/.Runtime/libburst-llvm.so` Reason: libtinfo.so.5: cannot open shared object file: No such file or directory issue on Fedora33

Same problem here on Mint. I’m using Unity 2020.2.7f1.

DllNotFoundException: Unable to load the unmanaged library /mnt/storage/UNITY_PROJECTS/spherical-planet-main/Library/PackageCache/com.unity.burst@1.5.0/.Runtime/libburst-llvm-11.so Reason: /mnt/storage/UNITY_PROJECTS/spherical-planet-main/Library/PackageCache/com.unity.burst@1.5.0/.Runtime/libburst-llvm-11.so: failed to map segment from shared object
Burst.Backend.UnmanagedLibrary+UnixUnmanagedLibrary.LoadLibrary (System.String name, System.Boolean addPlatformPrefix, System.Boolean addPlatformFileExtension) (at <230f2803cfa2497c8e0380ada3d24c04>:0)
Burst.Backend.UnmanagedLibrary.LoadLibrary (System.String name, System.Boolean addPlatformPrefix, System.Boolean addPlatformFileExtension) (at <230f2803cfa2497c8e0380ada3d24c04>:0)
Burst.Backend.StandardCompilerBackend…ctor (System.String nativeSharedLibraryName) (at <230f2803cfa2497c8e0380ada3d24c04>:0)
Burst.Backend.StandardCompilerBackend.GetSingleton (System.String backendName) (at <230f2803cfa2497c8e0380ada3d24c04>:0)
Burst.Backend.StandardCompilerBackend.GetDefault () (at <230f2803cfa2497c8e0380ada3d24c04>:0)
Burst.Compiler.IL.Jit.JitCompilerService…ctor (System.Int32 numberOfThreads, System.String libraryCacheFolderName) (at <145fd90ad008429098a2c4bbc004d494>:0)
Burst.Compiler.IL.Jit.JitCompilerService…ctor () (at <145fd90ad008429098a2c4bbc004d494>:0)
Unity.Burst.LowLevel.BurstCompilerService:InitializeInternal(String, ExtractCompilerFlags)
Unity.Burst.LowLevel.BurstCompilerService:Initialize(String, ExtractCompilerFlags)
Unity.Burst.Editor.BurstLoader:.cctor()
UnityEditor.EditorAssemblies:ProcessInitializeOnLoadAttributes(Type[ ])

What version of libc is required/recommended? I tryied all suggestions above, but no results.

1 Like

I had the same issue on MacOS and fixed it by installing ncurses using brew

brew install ncurses
2 Likes