-
Notifications
You must be signed in to change notification settings - Fork 72
Description
Describe the bug
Setting up a brand new net core application on MacOS, I get the DllNotFoundException whereas setting up a brand new project on Windows does work without problems with the exact same configuration.
To Reproduce
Setup a brand new net core project on MacOS using NET6 and follow the steps to add the library for Wordpress to work in the tutorial.
Expected behavior
The library should work exactly the same in both operating systems since Net Core is cross platform.
System information:
- OS: MacOS Monterrey
- Version 12.4
Stack trace:
DllNotFoundException: Unable to load shared library 'MonoPosixHelper' or one of its dependencies. In order to help diagnose loading problems, consider setting the DYLD_PRINT_LIBRARIES environment variable: dlopen(libMonoPosixHelper, 0x0001): tried: 'libMonoPosixHelper' (no such file), '/usr/local/lib/libMonoPosixHelper' (no such file), '/usr/lib/libMonoPosixHelper' (no such file), '/Users/weimarcoro/Development/StoreFront/StoreFront/libMonoPosixHelper' (no such file)
Peachpie.AspNetCore.Web.PhpHandlerMiddleware.InvokeScriptAsync(HttpContext context, ScriptInfo script, string path_info)
PeachPied.WordPress.AspNetCore.Internal.WpResponseCacheMiddleware.CaptureResponse(HttpContext context)
PeachPied.WordPress.AspNetCore.Internal.WpResponseCacheMiddleware.Invoke(HttpContext context)
PeachPied.WordPress.AspNetCore.Internal.DiagnosticExtensions+Middleware.Invoke(HttpContext context)
Microsoft.AspNetCore.Builder.Extensions.UsePathBaseMiddleware.InvokeCore(HttpContext context, PathString matchedPath, PathString remainingPath)
Microsoft.AspNetCore.Diagnostics.DeveloperExceptionPageMiddleware.Invoke(HttpContext context)
Additional context
Add any other context about the problem here.
