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

Kestrel on Linux now tries to load libuv.so instead of libuv.so.1 #100

Open
moozzyk opened this issue Nov 2, 2015 · 0 comments
Open

Kestrel on Linux now tries to load libuv.so instead of libuv.so.1 #100

moozzyk opened this issue Nov 2, 2015 · 0 comments

Comments

@moozzyk
Copy link

moozzyk commented Nov 2, 2015

Recently the Kestrel web server was changed (aspnet/KestrelHttpServer#244) to use the built-in mechanism for loading native libraries (aspnet/dnx#402) to load libuv. Because of this change Kestrel no longer controls the exact name of the libuv library being loaded. Rather, the name from the DllImport attribute is used by the runtime to load the library. To make it work across platforms the name used in the DllImport attribute is just libuv and we let the runtime append the extension (.dll\.dylib\.so) specific to a given platform. As a result when running Kestrel on Linux the runtime will try to load libuv.so which is a breaking change from previous releases where Kestrel explicitly tried to load libuv.so.1.

Please use aspnet/KestrelHttpServer#323 for discussion.

@aspnet aspnet locked and limited conversation to collaborators Nov 2, 2015
@moozzyk moozzyk added this to the 1.0.0-rc1 milestone Nov 2, 2015
@natemcmaster natemcmaster changed the title Kestrel on Linux now tires to load libuv.so instead of libuv.so.1 Kestrel on Linux now tries to load libuv.so instead of libuv.so.1 Nov 3, 2015
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant