The library 'libhostpolicy.so' required to execute the application was not found
See original GitHub issuedotnet core Newbie here, need help to find the right direction.
I’m trying to run the latest version of omnisharp-roslyn on Ubuntu 18.04 and .net core 3.0.0
Just trying to start it, I get the following error message:
$ dotnet ./OmniSharp.exe
A fatal error was encountered. The library 'libhostpolicy.so' required to execute the application was not found in '/opt/omnisharp-dist/omnisharp/'.
Failed to run as a self-contained app. If this should be a framework-dependent app, add the /opt/omnisharp-dist/omnisharp/OmniSharp.runtimeconfig.json file specifying the appropriate framework.
$ dotnet --info
.NET Core SDK (reflecting any global.json):
Version: 3.0.100
Commit: 04339c3a26
Runtime Environment:
OS Name: ubuntu
OS Version: 18.04
OS Platform: Linux
RID: ubuntu.18.04-x64
Base Path: /usr/share/dotnet/sdk/3.0.100/
Host (useful for support):
Version: 3.0.0
Commit: 95a0a61858
.NET Core SDKs installed:
3.0.100 [/usr/share/dotnet/sdk]
.NET Core runtimes installed:
Microsoft.AspNetCore.App 3.0.0 [/usr/share/dotnet/shared/Microsoft.AspNetCore.App]
Microsoft.NETCore.App 3.0.0 [/usr/share/dotnet/shared/Microsoft.NETCore.App]
To install additional .NET Core runtimes or SDKs:
https://aka.ms/dotnet-download
Any kind of suggestions appreciated, thanks!
Issue Analytics
- State:
- Created 4 years ago
- Comments:5 (2 by maintainers)
Top Results From Across the Web
A fatal error was encountered. The library 'libhostpolicy.so ...
A fatal error was encountered. The library 'libhostpolicy.so' required to execute the application was not found in '/app'. docker .
Read more >A fatal error was encountered. The library 'libhostpolicy.so ...
The library 'libhostpolicy.so' required to execute the application was not found in '/app/'. This is my Dockerfile: ` FROM mcr...
Read more >The library 'libhostpolicy.so' required to execute ...
During running a dotnet console application I encountered this error. I ran it from a directory that had the .dll and .pdb file...
Read more >A fatal error was encountered. The library 'libhostpolicy.so' ...
A fatal error was encountered. The library 'libhostpolicy.so' required to execute the application was not found - Linux · 1. Install .NET Core...
Read more >dotnet complaining that libhostpolicy.so doesn't exist, even ...
The library 'libhostpolicy.so' required to execute the application was not found in 'path/to/exe'. Failed to run as a self-contained app.
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
you have installed Mono 4.6.2, the required one is the latest - 6.4.0
Hi, upgrading Mono to 6.4.0 from the Ubuntu PPA solved the problem. Thanks.