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:
DllNotFoundException: Unable to load the unmanaged library /home/brogan/Unity/out-of-sight/Library/PackageCache/com.unity.burst@1.0.0/.Runtime/libburst-llvm.so Reason: libtinfo.so.5: cannot open shared object file: No such file or directory
Burst.Backend.UnmanagedLibrary+UnixUnmanagedLibrary.LoadLibrary (System.String name) (at <5728f6513aa347c6b87a0293ef17014d>:0)
Burst.Backend.UnmanagedLibrary.LoadLibrary (System.String name) (at <5728f6513aa347c6b87a0293ef17014d>:0)
Burst.Backend.StandardCompilerBackend…ctor (System.String nativeSharedLibraryName) (at <5728f6513aa347c6b87a0293ef17014d>:0)
Burst.Compiler.IL.Jit.JitCompilerService…ctor () (at <4699ce1e4a32410f9b68efcb2d4009cd>:0)
Unity.Burst.LowLevel.BurstCompilerService:InitializeInternal(String, ExtractCompilerFlags)
Unity.Burst.LowLevel.BurstCompilerService:Initialize(String, ExtractCompilerFlags)
Unity.Burst.Editor.BurstLoader:.cctor()
UnityEditor.EditorAssemblies:processInitializeOnLoadAttributes(Type[ ])
and
Unexpected error while trying to initialize the burst JIT compiler: Unexpected exception occured while initializing burst JitCompilerService
UnityEngine.Debug:LogError(Object)
Unity.Burst.LowLevel.BurstCompilerService:Initialize(String, ExtractCompilerFlags) (at /home/builduser/buildslave/unity/build/Runtime/Export/Burst/BurstCompilerService.cs:28)
Unity.Burst.Editor.BurstLoader:.cctor() (at Library/PackageCache/com.unity.burst@1.0.0/Editor/BurstLoader.cs:38)
UnityEditor.EditorAssemblies:processInitializeOnLoadAttributes(Type[ ])
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
PixelJ
April 22, 2019, 3:36pm
2
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 Thanks for the help.
1 Like
LTK
July 20, 2019, 6:51am
6
I have same issue on Ubuntu 19.04 and burst v1.1.1
and did it any of the above packages work for you?
LTK
July 22, 2019, 2:30am
8
Yeah, I tried install package ncurses5-compat-libs and libc6-dev-amd64 but not work
what about libncurses5 worked for me fine on Ubuntu 19.04 and Debian 10
2 Likes
LTK
July 22, 2019, 12:09pm
10
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