Skip to content

"dnx . kestrel" failing due to missing libuv on CentOS 7 #760

@ganeshran

Description

@ganeshran

I am able to execute Console apps but not the HelloMvC from the samples project. I tried the fix suggested of building libuv locally and then creating a symlink on /usr/lib/ and /usr/local/lib and /usr/lib64. dnx is still not able to load libuv.

Also tried to install libuv from the Centos repo but it didnt work.

dnu restore worked fine under mono runtime but after switching to coreclr to execute, this error is thrown.

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(String dllToLoad)
   at Kestrel.ServerFactory.Start(IServerInformation serverInformation, Func`2 application)
   at Microsoft.AspNet.Hosting.Internal.HostingEngine.Start()
   at Microsoft.AspNet.Hosting.Program.Main(String[] args)

Output of dnvm list. I am running the latest samples.

Active Version              Runtime Arch Location             Alias
------ -------              ------- ---- --------             -----
       1.0.0-beta5          mono         ~/.dnx/runtimes      default
       1.0.0-beta5          coreclr x64  ~/.dnx/runtimes      
       1.0.0-beta6          coreclr x64  ~/.dnx/runtimes      
  *    1.0.0-beta7-12264    coreclr x64  ~/.dnx/runtimes      
       1.0.0-beta7-12264    mono         ~/.dnx/runtimes      

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions