Skip to content
This repository has been archived by the owner on Dec 18, 2017. It is now read-only.

Dnx on Coreclr not running on Ubuntu 15.10 #3059

Closed
ghost opened this issue Oct 23, 2015 · 14 comments
Closed

Dnx on Coreclr not running on Ubuntu 15.10 #3059

ghost opened this issue Oct 23, 2015 · 14 comments

Comments

@ghost
Copy link

ghost commented Oct 23, 2015

On a fresh Ubuntu 15.10 install, and following http://dotnet.github.io/core/getting-started/ guide, dnx and dnu command produce no output when coreclr runtime (beta8 and rc1 dev feed) is selected.

@analogrelay
Copy link
Contributor

Can you try running the following and pasting the output here?

DNX_TRACE=1 dnx --version

FYI: The only officially supported Linux platform for beta8 is Ubuntu 14.04. We will be adding other distros, but it may just be that Ubuntu 15.10 changes something we depend on right now. We'll still take a look and see what we can do, but our priority is Ubuntu 14.04.

@ghost
Copy link
Author

ghost commented Oct 23, 2015

Same result for beta8 and rc1-15838
Loaded module: dnx.coreclr.so
Found export: CallApplicationMain

Unhandled Exception:
Cannot print exception string because Exception.ToString() failed.

@moozzyk
Copy link
Contributor

moozzyk commented Oct 23, 2015

libicu is missing

@moozzyk moozzyk closed this as completed Oct 23, 2015
@analogrelay
Copy link
Contributor

Yeah, those instructions are out of date and need to be updated for beta8, I suggest using the more up-to-date instructions here: https://docs.asp.net/en/latest/getting-started/installing-on-linux.html

Specifically, you need to install icu. Running sudo apt-get install libunwind8 gettext libssl-dev libcurl3-dev zlib1g libicu-dev should get everything you need.

@analogrelay
Copy link
Contributor

I filed a PR to update those docs.

@ghost
Copy link
Author

ghost commented Oct 23, 2015

I have followed those too, same result. libicu-dev and libicu55 are installed

@analogrelay
Copy link
Contributor

It's possible that Ubuntu 15.10 has an incompatible version of libicu then. Unfortunately libicu does not have a stable ABI between releases, so changes to that break binary compatibility.

@analogrelay
Copy link
Contributor

Yeah, it looks like Ubuntu 15.10 uses libicu55 but Ubuntu 14.04 uses libicu52. These are not binary-compatible releases so there will need to be an updated version of the CoreCLR to support 15.04. Since 14.04 is the current Ubuntu LTS release, that is the target version for CoreCLR presently so I suggest you use that version for now.

@analogrelay
Copy link
Contributor

(FYI, it looks like Ubuntu 15.04 does have the correct version of libicu, so you could try that)

@ghost
Copy link
Author

ghost commented Oct 23, 2015

Yes, It's working on 15.04

@ghost
Copy link
Author

ghost commented Oct 23, 2015

I just installed libicu52 manually from http://packages.ubuntu.com/vivid/amd64/libicu52/download and now it's working on 15.10

@ghost
Copy link
Author

ghost commented Oct 23, 2015

wget http://security.ubuntu.com/ubuntu/pool/main/i/icu/libicu52_52.1-8ubuntu0.2_amd64.deb
dpkg -i libicu52_52.1-8ubuntu0.2_amd64.deb

@analogrelay
Copy link
Contributor

Cool! Good to know :)

@ghost
Copy link
Author

ghost commented Oct 23, 2015

Thank you for your help !

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants