You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
No usable version of libssl was found on Apple Silicon M1 Mac #54597
@vcsjones I'm confused. They said they were running on an arm64 device, so wouldn't arm64 libcrypto/libssl be the right answer and x86_64 the wrong answer?
They said they are running .NET Core 3.1, there is no macOS ARM64 build of the runtime for .NET Core 3.1, so I would assume they are running in Rosetta 2 (x64 compat mode). You can't load an ARM64 library in to an x86_64 process.
Activity
vcsjones commentedon Jun 23, 2021
Can you make sure that the openssl you installed via homebrew is x86-64, not arm64? It can be confirmed with a command like:
The mach header should indicate what architecture it was built for:
If it indicates an architecture other than X86_64, then you should re-install openssl with homebrew to make sure you get the right architecture.
bartonjs commentedon Jun 23, 2021
@vcsjones I'm confused. They said they were running on an arm64 device, so wouldn't arm64 libcrypto/libssl be the right answer and x86_64 the wrong answer?
vcsjones commentedon Jun 23, 2021
@bartonjs
They said they are running .NET Core 3.1, there is no macOS ARM64 build of the runtime for .NET Core 3.1, so I would assume they are running in Rosetta 2 (x64 compat mode). You can't load an ARM64 library in to an x86_64 process.
bartonjs commentedon Jun 23, 2021
Ooooh, tricky, tricky.
younghoandrewchaa commentedon Jun 23, 2021
@vcsjones Thanks a lot. I've checked and it's ARM64
I'll try to install X86_64 openssl
after an hour and lots of hair pulling, I managed to install X86_64 version of openssl and it worked. I had to use iTerm on Resetta 2 and X86_64 version of brew.
Many thanks. Now I can use the new shiny M1 macbook for .NET coding!