[
https://issues.apache.org/jira/browse/IGNITE-7013?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16266948#comment-16266948
]
Pavel Tupitsyn commented on IGNITE-7013:
----------------------------------------
Finally was able to start Ignite.NET on macOS Sierra:
* libjvm.dylib support added
* {{DllImport}} refactored to {{dlopen}} + {{dlsym}} calls
Will add separate JAVA_HOME resolving code by looking into
{{/Library/Java/JavaVirtualMachines/}} folder.
> .NET: Ignite does not start on macOS
> ------------------------------------
>
> Key: IGNITE-7013
> URL: https://issues.apache.org/jira/browse/IGNITE-7013
> Project: Ignite
> Issue Type: Bug
> Components: platforms
> Affects Versions: 2.4
> Reporter: Pavel Tupitsyn
> Assignee: Pavel Tupitsyn
> Labels: .NET, xplat
> Fix For: 2.4
>
>
> Looks like dlopen code is incorrect for macOS:
> {code}
> Unhandled Exception: System.DllNotFoundException: Unable to load DLL
> 'libcoreclr.so': The specified module or one of its dependencies could not be
> found.
> (Exception from HRESULT: 0x8007007E)
> at
> Apache.Ignite.Core.Impl.Unmanaged.DllLoader.NativeMethodsCore.dlopen(String
> filename, Int32 flags)
> at Apache.Ignite.Core.Impl.Unmanaged.DllLoader.Load(String dllPath)
> at Apache.Ignite.Core.Impl.IgniteUtils.LoadDll(String filePath, String
> simpleName)
> at Apache.Ignite.Core.Impl.IgniteUtils.LoadJvmDll(String configJvmDllPath,
> ILogger log)
> at Apache.Ignite.Core.Impl.IgniteUtils.LoadDlls(String configJvmDllPath,
> ILogger log)
> at Apache.Ignite.Core.Ignition.Start(IgniteConfiguration cfg)
> at ignite_nuget_test.Program.Main(String[] args) in
> /Users/vveider/Development/VCS/Git/ignite-dotnetcore-demo/Program.cs:line 17
> {code}
> Steps to reproduce:
> {code}
> git clone https://github.com/ptupitsyn/ignite-dotnetcore-demo.git
> cd ignite-dotnetcore-demo
> dotnet run
> {code}
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)