Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

"k kestrel" fails with 'libdl' on Mono 3.8.0 for Samples/HelloWeb #139

Closed
ahmetb opened this issue Sep 5, 2014 · 4 comments
Closed

"k kestrel" fails with 'libdl' on Mono 3.8.0 for Samples/HelloWeb #139

ahmetb opened this issue Sep 5, 2014 · 4 comments

Comments

@ahmetb
Copy link

ahmetb commented Sep 5, 2014

I'm on Debian 7.6 with freshly released Mono 3.8.0 installed, I am trying to run Samples/HelloWeb application. I did the kpm restore step and now I will run the applicatio.

Now, if I try running with k web that gives error discussed in #107, so I'm using k kestrel and I am just getting output "libdl" and it exits with code=1 immediately.

$ k kestrel; echo ExitCode=$?
libdl
ExitCode=1

This seemed hard to debug to me at this point. Any pointers?

Mono JIT compiler version 3.8.0 (tarball Thu Sep  4 12:22:04 UTC 2014)
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
@davidfowl
Copy link
Member

Kestrel doesn't work on Linux out of the box add yet

@ahmetb
Copy link
Author

ahmetb commented Sep 5, 2014

Oh, I wasn't aware. Is there any web sample you can suggest to try out on Linux?

@andrewaggb
Copy link

well, I'm not much further along than you, but this should help

switch to the dev feed so you can install alpha4
KRE_FEED=https://www.myget.org/F/aspnetvnext/api/v2
kvm install 1.0.0-alpha4-10353

clone a sample using nowin (different webserver than kestrel), look at the project.json to see how it selects a different webserver
git clone https://github.com/davidfowl/HelloWorldVNext.git
cd HelloWorldVNext
kpm restore
cd src
cdr helloworldweb (something like that, I don't recall the exact name)
k web

@ahmetb
Copy link
Author

ahmetb commented Sep 5, 2014

@andrewaggb yep that does help, thank you! I guess I will stick with this example for now.

@ahmetb ahmetb closed this as completed Sep 5, 2014
ryanbrandenburg pushed a commit that referenced this issue Nov 22, 2018
@ghost ghost locked as resolved and limited conversation to collaborators Dec 4, 2019
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

3 participants