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 grpc-io+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/grpc-io/80b33d32-d261-4de2-986b-64337a6dddb0n%40googlegroups.com.

Reply via email to