Hello Eric, I'm still stuck with error while running command ./gradlew build -Pprotoc=/usr/local/bin/protoc -Pprotoc-gen-javalite=/usr/ local/bin/protoc-gen-javalite
I'm seeing below error despite building netty-tcnative on Power - :grpc-interop-testing:test[jetty-alpn-agent] Using: alpn-boot-8.1.7.v20160121.jar io.grpc.testing.integration.Http2NettyTest > classMethod FAILED java.lang.UnsatisfiedLinkError: failed to load the required native library at io.netty.handler.ssl.OpenSsl.ensureAvailability(OpenSsl.java:241) at io.netty.handler.ssl.OpenSslContext.<init>(OpenSslContext.java:169) at io.netty.handler.ssl.OpenSslServerContext.<init>(OpenSslServerContext.java:347) at io.netty.handler.ssl.OpenSslServerContext.<init>(OpenSslServerContext.java:337) at io.netty.handler.ssl.SslContext.newServerContextInternal(SslContext.java:413) at io.netty.handler.ssl.SslContextBuilder.build(SslContextBuilder.java:391) at io.grpc.testing.integration.Http2NettyTest.startServer(Http2NettyTest.java:70) Caused by: java.lang.IllegalArgumentException: Failed to load any of the given libraries: [netty-tcnative-linux-ppcle_64, netty-tcnative-linux-ppcle_64-fedora, netty-tcnative] at io.netty.util.internal.NativeLibraryLoader.loadFirstAvailable(NativeLibraryLoader.java:167) at io.netty.handler.ssl.OpenSsl.loadTcNative(OpenSsl.java:325) at io.netty.handler.ssl.OpenSsl.<clinit>(OpenSsl.java:90) at io.grpc.netty.GrpcSslContexts.defaultSslProvider(GrpcSslContexts.java:137) at io.grpc.netty.GrpcSslContexts.configure(GrpcSslContexts.java:119) at io.grpc.netty.GrpcSslContexts.forServer(GrpcSslContexts.java:100) at io.grpc.testing.integration.Http2NettyTest.startServer(Http2NettyTest.java:65) 212 tests completed, 1 failed, 4 skipped :grpc-interop-testing:test FAILED I tried copying the generated jar of netty-tcnative at $HOME/.gradle/cache/modules/file*/io.netty/netty-tcnative. Could you please help me with this setting? Thanks, Nishidha On Thursday, 14 July 2016 17:15:24 UTC+5:30, nishi...@gmail.com wrote: > > > Hi, > > I'm trying to build grpc-java on Power8 in order to build bazel 0.3.0 > (need protoc-gen-grpc-java built on power). However, I'm getting below > errors while doing so - > A problem occurred configuring project ':grpc-compiler'. > > Exception thrown while executing model rule: > NativeComponentRules#createBinaries > > Invalid NativePlatform: ppcle_64 > > Could anyone please guide me on how to build grpc-java on Power? I've also > gone through a similar post for "arm" but it didn't help. Looks like some > other places also need to be modified in order to add support for Power. > Not sure if skipcodegen=true is expected in my case, but I've also tried > that and it also fails for missing netty-tcnative-boring-ssl jar for Power. > > Thanks in advance, > Nishidha > -- 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 post to this group, send email to grpc-io@googlegroups.com. Visit this group at https://groups.google.com/group/grpc-io. To view this discussion on the web visit https://groups.google.com/d/msgid/grpc-io/9131ddd8-298a-4bc1-af27-4036e0d0604a%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.