Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. Dismiss Notice

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

Discussion in 'Linux' started by Brogan89, Apr 20, 2019.

  1. Brogan89

    Brogan89

    Joined:
    Jul 10, 2014
    Posts:
    243
    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 :)
     
  2. PixelJ

    PixelJ

    Unity Technologies

    Joined:
    Nov 1, 2018
    Posts:
    216
    Reason: libtinfo.so.5: cannot open shared object file: No such file or directory

    That looks to be the issue.
     
  3. DGLWilkins

    DGLWilkins

    Joined:
    Sep 25, 2012
    Posts:
    7
    Brogan89 and PixelJ like this.
  4. SuperSteeeeeeeve

    SuperSteeeeeeeve

    Joined:
    Jan 12, 2018
    Posts:
    19
    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.
     
    Brogan89 likes this.
  5. Brogan89

    Brogan89

    Joined:
    Jul 10, 2014
    Posts:
    243
    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.
     
    PixelJ likes this.
  6. LTK

    LTK

    Joined:
    Jul 16, 2015
    Posts:
    24
    I have same issue on Ubuntu 19.04 and burst v1.1.1
     
  7. Brogan89

    Brogan89

    Joined:
    Jul 10, 2014
    Posts:
    243
    and did it any of the above packages work for you?
     
  8. LTK

    LTK

    Joined:
    Jul 16, 2015
    Posts:
    24
    Yeah, I tried install package ncurses5-compat-libs and libc6-dev-amd64 but not work :'(
     
  9. Brogan89

    Brogan89

    Joined:
    Jul 10, 2014
    Posts:
    243
    what about `libncurses5` worked for me fine on Ubuntu 19.04 and Debian 10
     
    od3098 and LTK like this.
  10. LTK

    LTK

    Joined:
    Jul 16, 2015
    Posts:
    24
    Oh, I installed "libncurses5" and now worked. Thanks
     
    PixelJ and Brogan89 like this.
  11. nasumilu

    nasumilu

    Joined:
    Jan 6, 2021
    Posts:
    1
    Code (Boo):
    1. 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
     
  12. jojoblaze

    jojoblaze

    Joined:
    Aug 2, 2010
    Posts:
    19
    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.
     
    biggskanz likes this.
  13. mikehanson

    mikehanson

    Joined:
    Mar 6, 2021
    Posts:
    1
    I had the same issue on MacOS and fixed it by installing ncurses using brew

    Code (csharp):
    1. brew install ncurses
     
    nikk98 and Jetstream like this.