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
Hi
I am trying to load a managed DLL that wraps an unmanaged
.soor.dylibon Mac OSIf I create a
CLIapp usingdotnetI can get it to work if I copy to DLL and the.dylibinto the output folder. As an FYI I have to rename the.soto.dylibIf I create a simple test script in ifSharp
I get
DllNotFoundExceptioneven though the DLL and the.dylibare in the same folder where I executejupyter notebookI have tried
.soand.dylibin the same folderRelated information