首页 新闻 搜索 专区 学院

.net生产环境linux对接skywalking

0
悬赏园豆:10 [待解决问题]

Unhandled exception. System.DllNotFoundException: Unable to load shared library 'libdl.so' or one of its dependencies. In order to help diagnose loading problems, consider setting the LD_DEBUG environment variable: liblibdl.so: cannot open shared object file: No such file or directory
at Grpc.Core.Internal.UnmanagedLibrary.Linux.dlopen(String filename, Int32 flags)
at Grpc.Core.Internal.UnmanagedLibrary.LoadLibraryPosix(Func3 dlopenFunc, Func1 dlerrorFunc, String libraryPath, String& errorMsg)
at Grpc.Core.Internal.UnmanagedLibrary.PlatformSpecificLoadLibrary(String libraryPath, String& errorMsg)
at Grpc.Core.Internal.UnmanagedLibrary..ctor(String[] libraryPathAlternatives)
at Grpc.Core.Internal.NativeExtension.LoadUnmanagedLibrary()
at Grpc.Core.Internal.NativeExtension.LoadNativeMethods()
at Grpc.Core.Internal.NativeExtension..ctor()
at Grpc.Core.Internal.NativeExtension.Get()
at Grpc.Core.Internal.NativeMethods.Get()
at Grpc.Core.GrpcEnvironment.GrpcNativeInit()
at Grpc.Core.GrpcEnvironment..ctor()
at Grpc.Core.GrpcEnvironment.AddRef()
at Grpc.Core.Channel..ctor(String target, ChannelCredentials credentials, IEnumerable`1 options)
at Grpc.Core.Channel..ctor(String target, ChannelCredentials credentials)
at SkyApm.Transport.Grpc.ConnectionManager.ConnectAsync()
at SkyApm.Transport.Grpc.V6.ConnectService.ExecuteAsync(CancellationToken cancellationToken)
at SkyApm.ExecutionService.Callback(Object state)
at System.Threading.Tasks.Task.<>c.<ThrowAsync>b__140_1(Object state)
at System.Threading.QueueUserWorkItemCallbackDefaultContext.Execute()
at System.Threading.ThreadPoolWorkQueue.Dispatch()
at System.Threading._ThreadPoolWaitCallback.PerformWaitCallback()

失败也非末日的主页 失败也非末日 | 初学一级 | 园豆:7
提问于:2021-10-21 16:05
< >
分享
所有回答(1)
0

试试 Dockerfile 中  添加

RUN sudo apt update && sudo apt install -y libc-dev

 

 

小小高 | 园豆:1037 (小虾三级) | 2021-10-22 13:52

版本问题,已解决

支持(0) 反对(0) 失败也非末日 | 园豆:7 (初学一级) | 2021-10-26 16:22
清除回答草稿
   您需要登录以后才能回答,未注册用户请先注册