Linux, Kestrel/libuv related: System.DllNotFoundException: WS2_32.dll
See original GitHub issueSteps to reproduce
Try to run existing net451
MVC application with RTM bits on Linux. The RC2 bits worked fine on same machine. Application runs fine on Windows 7 and 10 with RTM bits. This is probably related to: https://github.com/aspnet/KestrelHttpServer/issues/730
Expected behavior
Application runs normally.
Actual behavior
Unhandled Exception:
System.AggregateException: One or more errors occurred. ---> System.DllNotFoundException: WS2_32.dll
Full stacktrace: https://gist.github.com/nmilosev/7c18f53d4e7184c0ec159390e67625bc
project.json
: https://gist.github.com/nmilosev/29971e0f7a691f6b0f3016730e9fb628
Environment data
dotnet --info
output:
[nmilosev@toshiba-qosmio-x70-a-12x AlfaEvid]$ dotnet --info
.NET Command Line Tools (1.0.0-preview3-003180)
Product Information:
Version: 1.0.0-preview3-003180
Commit SHA-1 hash: d4193cd5c1
Runtime Environment:
OS Name: fedora
OS Version: 24
OS Platform: Linux
RID: fedora.24-x64
uname -a
output:
Linux toshiba-qosmio-x70-a-12x 4.6.3-300.fc24.x86_64 dotnet/sdk#4283 SMP Fri Jun 24 20:52:41 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux
Also a note here: on kernel 4.6.3: I have to run:
export COMPlus_INTERNAL_ThreadSuspendInjection=0
otherwise I get a Segmentation fault on trying to run or restore an application.
mono -V
output:
[nmilosev@toshiba-qosmio-x70-a-12x AlfaEvid]$ mono -V
Mono JIT compiler version 4.2.4 (tarball Thu Jun 23 18:49:17 UTC 2016)
Copyright (C) 2002-2014 Novell, Inc, Xamarin Inc and Contributors. www.mono-project.com
TLS: __thread
SIGSEGV: altstack
Notifications: epoll
Architecture: amd64
Disabled: none
Misc: softdebug
LLVM: supported, not enabled.
GC: sgen
Issue Analytics
- State:
- Created 7 years ago
- Comments:5
Top Results From Across the Web
No results found
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 FreeTop 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
Top GitHub Comments
It seems that this issue has been resolved with @pompomJuice’s workarounds. Will close. If the issue still reproes, please reopen on aspnet/Kestrel.
Kestrel had some serious issues running on linux/dotnet core rc2/mono/net451. Release 1.0.0 fixed everything (wow!), but it still does not run out of the box. The required steps to make aspnet core run on ubuntu linux net451 are:
Boom, it works! @nmilosev linkz