Skip to content

libonnxruntime.so: version `VERS_1.17.1' not found #1771

@ZhenyaPav

Description

@ZhenyaPav
System.DllNotFoundException: Unable to load shared library '/home/zhenyapav/Projects/test/data_AI_Desktop_Companion_linuxbsd_x86_64/libsherpa-onnx-c-api.so' or one of its dependencies. In order to help diagnose loading problems, consider using a tool like strace. If you're using glibc, consider setting the LD_DEBUG environment variable: 
/home/zhenyapav/Projects/test/data_AI_Desktop_Companion_linuxbsd_x86_64/libonnxruntime.so: version `VERS_1.17.1' not found (required by /home/zhenyapav/Projects/test/data_AI_Desktop_Companion_linuxbsd_x86_64/libsherpa-onnx-c-api.so)

   at System.Runtime.InteropServices.NativeLibrary.<LoadFromPath>g____PInvoke|1_0(UInt16* __libraryName_native, Int32 __throwOnError_native)
   at System.Runtime.InteropServices.NativeLibrary.<LoadFromPath>g____PInvoke|1_0(UInt16* __libraryName_native, Int32 __throwOnError_native)
   at System.Runtime.Loader.AssemblyLoadContext.LoadUnmanagedDllFromPath(String unmanagedDllPath)
   at System.Runtime.Loader.AssemblyLoadContext.ResolveUnmanagedDll(String unmanagedDllName, IntPtr gchManagedAssemblyLoadContext)
   at SherpaOnnx.OfflineTts.SherpaOnnxDestroyOfflineTts(IntPtr handle)
   at SherpaOnnx.OfflineTts.SherpaOnnxDestroyOfflineTts(IntPtr handle)
   at SherpaOnnx.OfflineTts.Cleanup()
   at SherpaOnnx.OfflineTts.Finalize()
   at System.GC.RunFinalizers()

I get this error when trying to use MeloTTS in C#. Possibly related to #1081

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions