更新 dotnet-host Ubuntu 16.04 后出错
Error after updating dotnet-host Ubuntu 16.04
在 .NET Core ppa 的最后一次更新后,dotnet-host 更新,我不能再 运行 dotnet cli,我在终端中得到这个错误(运行ning 例如dotnet --version 命令):
Failed to resolve library symbol hostfxr_load, error: /usr/share/dotnet/host/fxr/1.0.1/libhostfxr.so: undefined symbol: hostfxr_load
Failed to resolve library symbol hostfxr_unload, error: /usr/share/dotnet/host/fxr/1.0.1/libhostfxr.so: undefined symbol: hostfxr_unload
This executable relies on newer functionality (exports) provided by 'libhostfxr.so'
- Updating 'libhostfxr.so' to version '1.0.2-beta-000583-00' might help resolve this problem.
我已经尝试清理有关 .NET Core 的所有内容并重新安装
但是没有任何反应,有人知道吗?
提前致谢
我遇到了同样的问题and found this link。简而言之,我 运行 安装 dotnet-hostfxr 1.0.2 版并解决了依赖问题:
sudo apt-get install dotnet-hostfxr-1.0.2
在 .NET Core ppa 的最后一次更新后,dotnet-host 更新,我不能再 运行 dotnet cli,我在终端中得到这个错误(运行ning 例如dotnet --version 命令):
Failed to resolve library symbol hostfxr_load, error: /usr/share/dotnet/host/fxr/1.0.1/libhostfxr.so: undefined symbol: hostfxr_load
Failed to resolve library symbol hostfxr_unload, error: /usr/share/dotnet/host/fxr/1.0.1/libhostfxr.so: undefined symbol: hostfxr_unload
This executable relies on newer functionality (exports) provided by 'libhostfxr.so'
- Updating 'libhostfxr.so' to version '1.0.2-beta-000583-00' might help resolve this problem.
我已经尝试清理有关 .NET Core 的所有内容并重新安装 但是没有任何反应,有人知道吗?
提前致谢
我遇到了同样的问题and found this link。简而言之,我 运行 安装 dotnet-hostfxr 1.0.2 版并解决了依赖问题:
sudo apt-get install dotnet-hostfxr-1.0.2