Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DllNotFoundException: Unable to load shared library 'MonoPosixHelper' #124

Open
weimarcoro opened this issue Jul 1, 2022 · 0 comments
Open
Labels
bug Something isn't working

Comments

@weimarcoro
Copy link

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.

Screenshots
image

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.

@weimarcoro weimarcoro added the bug Something isn't working label Jul 1, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant