sdk: Problem running dotnet on Ubuntu 14.04
Steps to reproduce
I followed the installation instructions at https://www.microsoft.com/net/core#ubuntu.
Actual behavior
Facing the following issue:
dotnet new Failed to resolve library symbol hostfxr_main, error: dotnet: undefined symbol: hostfxr_main Segmentation fault (core dumped)
Environment data
uname -a Linux ubuntu 3.19.0-61-generic dotnet/cli#69~14.04.1-Ubuntu SMP Thu Jun 9 09:09:13 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux
dotnet --info output:
dotnet --info Failed to resolve library symbol hostfxr_main, error: dotnet: undefined symbol: hostfxr_main Segmentation fault (core dumped)
About this issue
- Original URL
- State: closed
- Created 8 years ago
- Comments: 37 (10 by maintainers)
Commits related to this issue
- Try work around from https://github.com/dotnet/cli/issues/3657 — committed to rolfwessels/CoreDocker by rolfwessels 8 years ago
Until fixed you may usehttps://dotnetcli.blob.core.windows.net/dotnet/preview/Binaries/Latest/dotnet-dev-ubuntu-x64.latest.tar.gz
Is this fixed or am I missing something here? I’m running into the same issues. Tried the work-arounds not working around…
I was able to work around. Here are the steps that needs to be added to .travis.yml:
@brthor @blackdwarf - Thanks for help!
For the preview1 bits yes install scripts should work, the preview2 bits are working on ubuntu14 and ubuntu16 via apt-get (confirmed today)
Folks could consume those like so:
apt-get install dotnet-dev-1.0.0-preview2-003118Ah I see @hovsepm @TheSalarKhan @blackdwarf here is an alternative workaround
Install the preview2 sdk package
apt-get install dotnet-dev-1.0.0-preview2-003118And then install the preview1 sharedframework package so your app will continue to work
apt-get install dotnet-sharedframework-microsoft.netcore.app-1.0.0-rc2-3002702using
apt-get install dotnet-dev-1.0.0-preview2-003118does not solve the issue for me. Here is the outputTravis run - https://travis-ci.org/Azure/autorest/builds/139372235