Skip to content
This repository was archived by the owner on Dec 18, 2018. It is now read-only.
This repository was archived by the owner on Dec 18, 2018. It is now read-only.

System.DllNotFoundException: Unable to load DLL 'libuv' #627

Closed
@munyirik

Description

@munyirik

I hit this issue when trying to run an asp.net 5 server on my Raspberry Pi 2 (with Windows IoT Core).

Repro steps:

  1. Installed arm coreclr with: dnvm install latest -r coreclr -arch arm -u
  2. Created new asp.net 5 web application in VS (with no modifications of my own) and published with: dnu publish --out C:\projects\asp5 --runtime dnx-coreclr-win-arm.1.0.0-rc2-16357.
  3. Copied the published files to RPi2 and ran the application.

Result:
.\asparm\approot\web.cmd : System.DllNotFoundException: Unable to load DLL 'libuv': The specified module could not be found. (Exception
from HRESULT: 0x8007007E)
+ CategoryInfo : NotSpecified: (System.DllNotFo...LT: 0x8007007E):String) [], RemoteException
+ FullyQualifiedErrorId : NativeCommandError

at Microsoft.AspNet.Server.Kestrel.Networking.Libuv.NativeMethods.uv_loop_size()
at Microsoft.AspNet.Server.Kestr
el.Networking.Libuv.loop_size()
at Microsoft.AspNet.Server.Kestrel.Networking.UvLoopHandle.Init(Libuv uv)
at Microsoft.AspNet.Server.Kestrel.KestrelThread.ThreadStart(Object parameter)

Workaround
Copied \approot\packages\Microsoft.AspNet.Server.Kestrel\1.0.0-rc1-final\runtimes\win10-arm\native\libuv.dll to \approot\packages\Microsoft.AspNet.Server.Kestrel\1.0.0-rc1-final\lib\dnxcore50

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions