Anyone encountered this error ? Running <Pact.NET>...
# pact-net
s
Anyone encountered this error ? Running Pact.NET on macOS (Apple Silicon): Unable to load shared library ‘pact_ffi’ or one of its dependencies. In order to help diagnose loading problems, consider... System.DllNotFoundException Unable to load shared library ‘pact_ffi’ or one of its dependencies. In order to help diagnose loading problems, consider setting the DYLD_PRINT_LIBRARIES environment variable: dlopen(libpact_ffi, 0x0001): tried: ‘libpact_ffi’ (no such file), ‘/usr/local/lib/libpact_ffi’ (no such file), ‘/usr/lib/libpact_ffi’ (no such file), ‘/Users/sarunask/Projects/mobile-bff-mirror/Tests.API/bin/Debug/net6.0/libpact_ffi’ (no such file) at PactNet.Interop.NativeInterop.LogToBuffer(LevelFilter levelFilter) at PactNet.PactExtensions.InitialiseLogging(PactLogLevel level) at PactNet.PactExtensions.InitialiseServer(MockServer server, IPact pact, PactSpecification version) at PactNet.PactExtensions.UsingNativeBackend(IPactV3 pact, Nullable`1 port, IPAddress host) at Tests.API.PrivateAccounts.GetAccounts..ctor(WebApplicationFactory`1 factory, ITestOutputHelper output) in /Users/sarunask/Projects/mobile-bff-mirror/Tests.API/PrivateAccounts/GetAccounts.cs:line 56
m
I don't recall if support for apple was merged into .NET just yet, but I believe it should run under Rosetta. We definitely publish apple silicon shared libraries but I'm not sure the .NET bindings use them because there was no way to run builds to test them