Error loading native library "/app/runtimes/linux/native/libgrpc_csharp_ext.x64.so - Grpc Core on Docker container Error loading native library "/app/runtimes/linux/native/libgrpc_csharp_ext.x64.so - Grpc Core on Docker container docker docker

Error loading native library "/app/runtimes/linux/native/libgrpc_csharp_ext.x64.so - Grpc Core on Docker container


For those who have encounterd this error on Raspberry Pi, the problem is the libgrpc_csharp_ext native library is currently does not compiled and built for the arm7 processor. I made it work by compiling the gRPC for arm7 by myself using this method. Now everything just works as expected

You can also find blog about this problem here:https://dev.to/erikest/grpc-on-dotnet-core-preview3-on-raspberrypi-3-4nf4


For me, it worked to use different runtime image, no need to add libc6-compat

FROM mcr.microsoft.com/dotnet/core/aspnet:3.1-buster-slim AS runtime