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

dotnet restore fails on mac (core 3 preview 7) #3148

Closed
binish opened this issue Aug 4, 2019 · 6 comments
Closed

dotnet restore fails on mac (core 3 preview 7) #3148

binish opened this issue Aug 4, 2019 · 6 comments

Comments

@binish
Copy link

binish commented Aug 4, 2019

dotnet restore fails on macOS ( Sierra 10.12.6)

dotnet new react -au Individual => failes
dotnet restore => fails

dyld: lazy symbol binding failed: Symbol not found: _utimensat
Referenced from: /usr/local/share/dotnet/shared/Microsoft.NETCore.App/3.0.0-preview7-27912-14/System.Native.dylib
Expected in: /usr/lib/libSystem.B.dylib

dyld: Symbol not found: _utimensat
Referenced from: /usr/local/share/dotnet/shared/Microsoft.NETCore.App/3.0.0-preview7-27912-14/System.Native.dylib
Expected in: /usr/lib/libSystem.B.dylib

@dragfly
Copy link

dragfly commented Aug 23, 2019

Same problem with preview 8 and macOS Sierra 10.12.5

$ dotnet --version
3.0.100-preview8-013656

$ dotnet build
Microsoft (R) Build Engine version 16.3.0-preview-19377-01+dd8019d9e for .NET Core
Copyright (C) Microsoft Corporation. All rights reserved.

[...]
You are using a preview version of .NET Core. See: https://aka.ms/dotnet-core-preview
[...]
dyld: lazy symbol binding failed: Symbol not found: _utimensat
Referenced from: /usr/local/share/dotnet/shared/Microsoft.NETCore.App/3.0.0-preview8-28405-07/System.Native.dylib
Expected in: /usr/lib/libSystem.B.dylib

dyld: Symbol not found: _utimensat
Referenced from: /usr/local/share/dotnet/shared/Microsoft.NETCore.App/3.0.0-preview8-28405-07/System.Native.dylib
Expected in: /usr/lib/libSystem.B.dylib

@dragfly
Copy link

dragfly commented Sep 2, 2019

Found the solution thanks to https:/dotnet/corefx/issues/39701
Unfortunately .NET Core 3.0 is not supported on Sierra (10.12) as it needs at least 10.13

I guess this issue can be closed

@jchannon
Copy link
Contributor

Found the same for preview9 will try updating my OS

@jchannon
Copy link
Contributor

That did it!

@carlossanlop
Copy link
Member

Seems to be resolved. Closing. Feel free to ping us or reopen the issue if you keep seeing problems.

@christianscheuer
Copy link

If .NET Core 3.0 needs at least 10.13, shouldn't https://dot.net and https://dotnet.microsoft.com/download be updated so that if you visit those sites on 10.12, you would be redirected to download a version of the SDK that works on these systems?
Or - at least get a more usable error message in the CLI?
I mean, it feels pretty weird that the main web page of the .NET SDK redirects you to download something that doesn't work...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants