【发布时间】:2015-08-12 22:52:56
【问题描述】:
我正在尝试从https://github.com/aspnet/home 运行样本
我按照documentation 中的所有步骤进行操作,但无法正常工作。
我正在运行dnx . kestrel(在 CentOS 上),错误是:
System.InvalidOperationException: Unable to load libuv. Make sure libuv is installed and available as libuv.so.1
at Microsoft.AspNet.Server.Kestrel.Networking.Libuv.Load (System.String dllToLoad) [0x00000] in <filename unknown>:0
at Microsoft.AspNet.Server.Kestrel.KestrelEngine..ctor (ILibraryManager libraryManager, IApplicationShutdown appShutdownService) [0x00000] in <filename unknown>:0
at Kestrel.ServerFactory.Start (IServerInformation serverInformation, System.Func`2 application) [0x00000] in <filename unknown>:0
at Microsoft.AspNet.Hosting.Internal.HostingEngine.Start () [0x00000] in <filename unknown>:0
我在/usr/local/lib 中有libuv.so.1.0.0
[/usr/local/lib]$ ls
libuv.a libuv.la libuv.so libuv.so.1 libuv.so.1.0.0 pkgconfig
我还在/usr/lib 和/usr/lib64 中添加了libuv.so.1 的符号链接
我什至检查了kestrel's source code,但我找不到问题所在。
我错过了什么?
【问题讨论】:
标签: mono centos asp.net-core libuv kestrel-http-server