0
라즈베리 2 (raspbian)에서 간단한 프로그램을 실행하려고합니다. 다른 작은 콘솔 프로젝트가 좋아 작동하지만이 일이 오류를 보여줍니다libcurl 오류가 라스베리에서 dotnet 2.0 콘솔 프로그램을 실행 중임
dotnet: relocation error: /opt/dotnet/shared/Microsoft.NETCore.App/2.0.4/System.Net.Http.Native.so: symbol curl_multi_wait, version CURL_OPENSSL_3 not defined in file libcurl.so.4 with link time reference
나는 libcurl4-하려면 openssl-dev에 설치하려고하지만 문제가 해결되지 않습니다. 어떤 아이디어?
편집 : System.Net 라이브러리의 웹 클라이언트 클래스를 사용하는 프로그램은,이 중 하나가 작동하지 않습니다
using System;
using System.Net;
namespace pruebahttpnet
{
class Program
{
static void Main(string[] args)
{
var cander = new WebClient().DownloadString(new Uri("https://gist.githubusercontent.com/febuiles/caec38b2bdf5768f4abf0677249d6901/raw/4426349bdb23018088e19db0dc22dcd4f3e1fee1/foo.txt"));
Console.WriteLine(cander);
}
}
}
나는 HttpWebRequest와 Flurl.Http를 시도했지만 아무 것도 해결하지 못했다. – rasputino