I believe this should be fixed in the apline package build file. I've CC'd the maintainer.
https://git.alpinelinux.org/aports/tree/community/grpc/APKBUILD?h=3.15-stable On Tue, May 31, 2022 at 3:40 PM Blaine Nelson <[email protected]> wrote: > When I build the following docker image: > > ``` > FROM alpine:3.15 > > RUN apk update && apk upgrade && apk add --no-cache grpc-cli > ``` > > and then run it using `docker run -it my_image:latest /bin/sh` it gives > the following error: > > ``` > > grpc_cli > Error loading shared library libgrpc++_test_config.so.1.42: No such file > or directory (needed by /usr/bin/grpc_cli) > Error relocating /usr/bin/grpc_cli: _ZN4grpc7testing8InitTestEPiPPPcb: > symbol not found > ``` > > This package worked correctly in alpine 3.14 and I eventually found the > issue was that the file was mis-named as > `/usr/lib/libgrpc++_test_config.so.1.42.0`. Creating a soft link resolved > the issue: > > ``` > ln -s /usr/lib/libgrpc++_test_config.so.1.42.0 > /usr/lib/libgrpc++_test_config.so.1.42 > ``` > > Can this issue be corrected in the Alpine 3.15 package itself? > > -- > You received this message because you are subscribed to the Google Groups " > grpc.io" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To view this discussion on the web visit > https://groups.google.com/d/msgid/grpc-io/80b33d32-d261-4de2-986b-64337a6dddb0n%40googlegroups.com > <https://groups.google.com/d/msgid/grpc-io/80b33d32-d261-4de2-986b-64337a6dddb0n%40googlegroups.com?utm_medium=email&utm_source=footer> > . > -- You received this message because you are subscribed to the Google Groups "grpc.io" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/grpc-io/CA%2B8UZUuGQA0h4VZ0X8pJqD0to-XEx-PWrW3E1J1oXghe7oxawg%40mail.gmail.com.
