Skip to content

Fedora Fix for Netty-Shaded #5688

@JohnPucciarelli

Description

@JohnPucciarelli

What version of gRPC are you using?

1.20

What did you expect to see?

I was unable to get grpc-netty-shaded or grpc-netty (+ the classifier) working on Fedora 30.

This is the error I encountered when using netty-shaded:

java.lang.IllegalStateException: Could not find TLS ALPN provider; no working netty-tcnative, Conscrypt, or Jetty NPN/ALPN available

And here's the error I encountered when using grpc-netty + the fedora classifier:

Caused by: java.lang.UnsatisfiedLinkError: libcrypt.so.1: cannot open shared object file: No such file or directory

I was able to workaround this issue by creating a sym-link for libcrypt.so.1:

ln -s /usr/lib64/libcrypt.so /usr/lib64/libcrypt.so.1

Creating this link solved the issue for me.
Note: you might need to install openssl-devel.

Leaving this here in-case it helps someone in the future.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions