ALT Linux Community general discussions
 help / color / mirror / Atom feed
From: Evgeny Sinelnikov <sin@altlinux.ru>
To: ALT Linux Community general discussions <community@lists.altlinux.org>
Subject: Re: [Comm] .NET Core на Альте (инструкция)
Date: Wed, 22 Mar 2017 12:02:37 +0400
Message-ID: <CAK42-GpNJvpWL+SyEDeYeoefpSDEsXHdc_hWaUiS-tujkygS0Q@mail.gmail.com> (raw)
In-Reply-To: <b8887e71-9072-deb0-b69b-fd6c97c90ddc@altlinux.org>

2017-03-22 11:24 GMT+04:00 Andrey Cherepanov <cas@altlinux.org>:
> Установка .NET Core на Альт (версии 8)
>
> https://www.altlinux.org/.NET_Core
>
> Установите дополнительные пакеты:
> apt-get install libunwind libicu54
>
> Скачайте саму .NET для Fedora 23 cо страницы
> https://www.microsoft.com/net/core#linuxfedora
> curl -SL -o dotnet.tar.gz https://go.microsoft.com/fwlink/?linkid=843457
>
> от root:
> mkdir /opt/dotnet
> tar xzf dotnet.tar.gz -C /opt/dotnet
> ln -s /opt/dotnet/dotnet /usr/local/bin
>
> Проверка (не от root)
>
> (Желательно иметь в /tmp >2 ГБ свободного места)
> dotnet new console -o hwapp
> cd hwapp
> dotnet restore
> dotnet run

Сразу два момента. Это какой-то старый p8. В новом уже libicu56

[sin@tor Microsoft]$ sudo apt-get install libunwind libicu54 -y
[sudo] password for sin:
Чтение списков пакетов... Завершено
Построение дерева зависимостей... Завершено
Последняя версия libunwind уже установлена.
E: Невозможно найти пакет libicu54
[sin@tor Microsoft]$ sudo apt-get install libicu56 -y
Чтение списков пакетов... Завершено
Построение дерева зависимостей... Завершено
Последняя версия libicu56 уже установлена.


И вторая тут же проблема:

[sin@tor ~]$ dotnet new console -o hwapp
Failed to initialize CoreCLR, HRESULT: 0x80131500
[sin@tor ~]$ dotnet --help
Failed to initialize CoreCLR, HRESULT: 0x80131500
[sin@tor ~]$ which dotnet
/usr/local/bin/dotnet
[sin@tor ~]$ cd /opt/dotnet/
[sin@tor dotnet]$ ./dotnet --version
Failed to initialize CoreCLR, HRESULT: 0x80131500
[sin@tor dotnet]$ dotnet --help
Failed to initialize CoreCLR, HRESULT: 0x80131500
[sin@tor dotnet]$ ./dotnet --help
Failed to initialize CoreCLR, HRESULT: 0x80131500
[sin@tor dotnet]$ ./dotnet

Microsoft .NET Core Shared Framework Host

  Version  : 1.1.0
  Build    : 928f77c4bc3f49d892459992fb6e1d5542cb5e86

Usage: dotnet [common-options] [[options] path-to-application]

Common Options:
  --help                           Display .NET Core Shared Framework Host help.
  --version                        Display .NET Core Shared Framework
Host version.

Options:
  --fx-version <version>           Version of the installed Shared
Framework to use to run the application.
  --additionalprobingpath <path>   Path containing probing policy and
assemblies to probe for.

Path to Application:
  The path to a .NET Core managed application, dll or exe file to execute.

If you are debugging the Shared Framework Host, set 'COREHOST_TRACE'
to '1' in your environment.

To get started on developing applications for .NET Core, install the SDK from:
  http://go.microsoft.com/fwlink/?LinkID=798306&clcid=0x409


А вот и баги:

- Failed to initialize CoreCLR, HRESULT: 0x80131500
   https://github.com/dotnet/cli/issues/2018

Для FC24 получаем вот такую картину:

[sin@tor dotnet]$ dotnet --version
Failed to load /opt/dotnet/shared/Microsoft.NETCore.App/1.1.1/libhostpolicy.so,
error: /usr/lib64/libstdc++.so.6: version `GLIBCXX_3.4.22' not found
(required by /opt/dotnet/shared/Microsoft.NETCore.App/1.1.1/libhostpolicy.so)
An error occurred while loading required library libhostpolicy.so from
[/opt/dotnet/shared/Microsoft.NETCore.App/1.1.1]


-- 
Sin (Sinelnikov Evgeny)

  reply	other threads:[~2017-03-22  8:02 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-03-22  7:24 Andrey Cherepanov
2017-03-22  8:02 ` Evgeny Sinelnikov [this message]
2017-03-22  8:07   ` Andrey Cherepanov
2017-03-22  9:00     ` Evgeny Sinelnikov
2017-03-22 14:00 ` Sergey V Turchin

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CAK42-GpNJvpWL+SyEDeYeoefpSDEsXHdc_hWaUiS-tujkygS0Q@mail.gmail.com \
    --to=sin@altlinux.ru \
    --cc=community@lists.altlinux.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

ALT Linux Community general discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/community/0 community/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 community community/ http://lore.altlinux.org/community \
		mandrake-russian@linuxteam.iplabs.ru community@lists.altlinux.org community@lists.altlinux.ru community@lists.altlinux.com
	public-inbox-index community

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.community


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git