dnx版本:dnx-coreclr-linux-x64.1.0.0-beta7
操作系统:Linux CentOS
运行dnx restore时出现下面的错误:
System.TypeInitializationException: The type initializer for 'System.Net.Http.CurlHandler' threw an exception. ---> System.DllNotFoundException: Unable to load DLL 'libcurl': The specified module could not be found. (Exception from HRESULT: 0x8007007E) at Interop.libcurl.curl_global_init(Int64 flags) at System.Net.Http.CurlHandler..cctor() --- End of inner exception stack trace --- at System.Net.Http.CurlHandler..ctor() at System.Net.Http.HttpClientHandler..ctor() at System.Net.Http.HttpClient..ctor()
请问如何解决这个问题?
用 dnvm upgrade -r coreclr -u 将dnx升级至1.0.0-beta8-15616之后,这个错误消失。
dll not found???
要安装curl吧,之前好像遇到过.装个curl包就好了