How to install DotNet Core 3.1 on M1 arm64 processor

Hello

I have installed :

dotnet-sdk-3.1.417-osx-x64.pkg

on a MAC mini M1 arm64

and I have the following issue when I run dotnet :

/usr/local/share/dotnet/dotnet FootWorkService.dll

Failed to load A, error: dlopen(/usr/local/share/dotnet/host/fxr/6.0.3/libhostfxr.dylib, 0x0001): tried: '/usr/local/share/dotnet/host/fxr/6.0.3/libhostfxr.dylib' (mach-o file, but is an incompatible architecture (have 'arm64', need 'x86_64')), '/usr/local/lib/libhostfxr.dylib' (no such file), '/usr/lib/libhostfxr.dylib' (no such file)

The library libhostfxr.dylib was found, but loading it from /usr/local/share/dotnet/host/fxr/6.0.3/libhostfxr.dylib failed

- Installing .NET Core prerequisites might help resolve this problem.

https://go.microsoft.com/fwlink/?linkid=2063366

There is no equivalent of dotnet-sdk-3.1.417-osx-x64.pkg for arm64 so what should I do ?

Best regards

Publiée le 31 mars 2022 à 03h50

Répondre

Questions similaires

1 réponse

Cette discussion a été fermée par le système ou l’équipe de la communauté. Vous pouvez voter pour les publications que vous jugez utiles ou effectuer des recherches dans la communauté pour trouver des réponses supplémentaires.

How to install DotNet Core 3.1 on M1 arm64 processor

Bienvenue dans la Communauté d’assistance Apple
Un forum où les clients Apple s’entraident avec leurs produits. Faites vos premiers pas avec votre compte Apple.