8000 Mac OS DllNotFoundException (.NET Core) · Issue #243 · fsprojects/IfSharp · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
Mac OS DllNotFoundException (.NET Core) #243
Open
@7Grok

Description

@7Grok

Hi

I am trying to load a managed DLL that wraps an unmanaged .so or .dylib on Mac OS

If I create a CLI app using dotnet I can get it to work if I copy to DLL and the .dylib into the output folder. As an FYI I have to rename the .so to .dylib

If I create a simple test script in ifSharp

#r "managed_wrapper.dll"
open System
open LibraryName

let main =
    Library.some_init_function(0) |> ignore
    printfn "Hello World from F#!"
    0

main

I get DllNotFoundException even though the DLL and the .dylib are in the same folder where I execute jupyter notebook

I have tried

Related information

  • Operating system: Mac OS 10.14.6
  • jupyter core : 4.6.1
  • jupyter-notebook : 6.0.2
  • jupyter client : 5.3.4
  • jupyter lab : 1.2.3
  • dotnet: 2.1.401

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0