Alpine&Dotnet&Grpc: __strftime_l and __strdup : symbols not found
I have to build docker container based on Alpine to run dotnet microservice with gRPC network framework.
For previous versions of Alpine (3.6...3.12) I've used various workarounds like: libc6-compat from Alpine repository and custom glibc from sgerrand.
But current Alpine 3.13 uses musl 1.2.2, witch is not compatible with last workaround. So, I'm trying gcompat...
`# apk add --no-cache gcompat`
...
`# ldd /root/.nuget/packages/grpc.core/2.38.0/runtimes/linux-x64/native/libgrpc_csharp_ext.x64.so`
`/lib/ld-musl-x86_64.so.1 (0x7fc6bbc74000)
libdl.so.2 => /lib/ld-musl-x86_64.so.1 (0x7fc6bbc74000)
librt.so.1 => /lib/ld-musl-x86_64.so.1 (0x7fc6bbc74000)
libpthread.so.0 => /lib/ld-musl-x86_64.so.1 (0x7fc6bbc74000)
libm.so.6 => /lib/ld-musl-x86_64.so.1 (0x7fc6bbc74000)
libstdc++.so.6 => /usr/lib/libstdc++.so.6 (0x7fc6bb281000)
libgcc_s.so.1 => /usr/lib/libgcc_s.so.1 (0x7fc6bb267000)
libc.so.6 => /lib/ld-musl-x86_64.so.1 (0x7fc6bbc74000)
ld-linux-x86-64.so.2 => /lib/ld-linux-x86-64.so.2 (0x7fc6bb261000)
Error relocating /root/.nuget/packages/grpc.core/2.38.0/runtimes/linux-x64/native/libgrpc_csharp_ext.x64.so: __strdup: symbol not found`
...
`# ldd /root/.nuget/packages/grpc.tools/2.38.0/tools/linux_x64/protoc`
`/lib64/ld-linux-x86-64.so.2 (0x7f8947a3d000)
libpthread.so.0 => /lib64/ld-linux-x86-64.so.2 (0x7f8947a3d000)
libm.so.6 => /lib64/ld-linux-x86-64.so.2 (0x7f8947a3d000)
libc.so.6 => /lib64/ld-linux-x86-64.so.2 (0x7f8947a3d000)
ld-linux-x86-64.so.2 => /lib/ld-linux-x86-64.so.2 (0x7f8947a37000)
Error relocating /root/.nuget/packages/grpc.tools/2.38.0/tools/linux_x64/protoc: __strftime_l: symbol not found`
Is it a bug of gcompat?
issue