首页 新闻 会员 周边 捐助

在Mac上安装.NET Core 2.0 Preview 1的问题

1
悬赏园豆:30 [已解决问题] 解决于 2017-05-11 17:49

安装 .NET Core 2.0 Preview 1 后,运行 dotnet -v 命令出现如下的错误:

dyld: lazy symbol binding failed: Symbol not found: _clock_gettime
  Referenced from: /usr/local/share/dotnet/shared/Microsoft.NETCore.App/2.0.0-preview1-002111-00/libcoreclr.dylib (which was built for Mac OS X 10.12)
  Expected in: /usr/lib/libSystem.B.dylib

dyld: Symbol not found: _clock_gettime
  Referenced from: /usr/local/share/dotnet/shared/Microsoft.NETCore.App/2.0.0-preview1-002111-00/libcoreclr.dylib (which was built for Mac OS X 10.12)
  Expected in: /usr/lib/libSystem.B.dylib

请问如何解决?

问题补充:

问题与我的电脑用的是 OS X El Capitan 10.11.6 有关

dudu的主页 dudu | 高人七级 | 园豆:30925
提问于:2017-05-11 15:08
< >
分享
最佳答案
1

原来 .NET Core 2.0 SDK 支持的 OS X 最低版本是 10.12 ,详见 https://github.com/dotnet/coreclr/issues/10337

dudu | 高人七级 |园豆:30925 | 2017-05-11 17:49
清除回答草稿
   您需要登录以后才能回答,未注册用户请先注册