Mono Kestrel命令抛出无法加载libuv。确保libuv已安装并作为libuv.so.1提供

Mono Kestrel命令抛出无法加载libuv。确保libuv已安装并作为libuv.so.1提供,mono,centos,asp.net-core,libuv,kestrel-http-server,Mono,Centos,Asp.net Core,Libuv,Kestrel Http Server,我正试着从他们那里提取样本 我遵循了所有的步骤,但我不能使它工作 我正在运行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.Strin

我正试着从他们那里提取样本

我遵循了所有的步骤,但我不能使它工作

我正在运行
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/lib
/usr/lib64
中添加了
libuv.so.1
的符号链接

我甚至检查了一下,但是我找不到问题所在


我缺少什么?

设置库加载器路径,使其包含本地lib dir,并且加载库应位于以下位置:

export LD_LIBRARY_PATH=/usr/local/lib:$LD_LIBRARY_PATH
dnx . kestrel
man dlopen
有关详细信息:

Linux Shared Library Search Path
From the dlopen(3) man page, the necessary shared libraries needed by the program are searched for in the following order:

1) A colon-separated list of directories in the user’s LD_LIBRARY_PATH environment variable.
2)....

设置库加载器路径以包含本地lib dir,并且加载库应位于以下位置:

export LD_LIBRARY_PATH=/usr/local/lib:$LD_LIBRARY_PATH
dnx . kestrel
man dlopen
有关详细信息:

Linux Shared Library Search Path
From the dlopen(3) man page, the necessary shared libraries needed by the program are searched for in the following order:

1) A colon-separated list of directories in the user’s LD_LIBRARY_PATH environment variable.
2)....