5

after the last update from .NET Core ppa, dotnet-host update, I can't anymore run the dotnet cli, I get just this error in terminal (running for eg dotnet --version command):

    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.

I already tried to clean everything about the .NET Core and reinstall again but nothing happens, anyone has idea about?

Thanks in advance

1 Answer 1

4

I had the same problem and found this link. Short story is that I ran this to install dotnet-hostfxr version 1.0.2 and it resolved the dependency problem:

sudo apt-get install dotnet-hostfxr-1.0.2

2
  • Your link appears to be this very same page. Jul 17, 2016 at 23:55
  • @AndrewArnott - Woops, fixed the link
    – swannee
    Jul 18, 2016 at 15:39

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.