ignite-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Pavel Tupitsyn (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (IGNITE-7013) .NET: Ignite does not start on macOS
Date Fri, 24 Nov 2017 12:14:00 GMT

    [ https://issues.apache.org/jira/browse/IGNITE-7013?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16265217#comment-16265217
] 

Pavel Tupitsyn commented on IGNITE-7013:
----------------------------------------

MacOS dlopen should look like this:

{code}
            [DllImport("libSystem.dylib")]
            internal static extern IntPtr dlopen(string filename, int flags);
{code}

> .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)

Mime
View raw message