You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@servicecomb.apache.org by GitBox <gi...@apache.org> on 2020/11/26 17:05:50 UTC

[GitHub] [servicecomb-java-chassis] zwwtj2014 opened a new issue #2087: CSE v2.5.3 Startup on the ARM error,could not load a native library: netty_tcnative

zwwtj2014 opened a new issue #2087:
URL: https://github.com/apache/servicecomb-java-chassis/issues/2087


   ```log
   io.vertx.core.VertxException: OpenSSL is not available
   	at io.vertx.core.net.impl.SSLHelper.resolveEngineOptions(SSLHelper.java:76) ~[vertx-core-3.8.3.jar:3.8.3]
   	at io.vertx.core.net.impl.SSLHelper.<init>(SSLHelper.java:134) ~[vertx-core-3.8.3.jar:3.8.3]
   	at io.vertx.core.http.impl.HttpClientImpl.<init>(HttpClientImpl.java:131) ~[vertx-core-3.8.3.jar:3.8.3]
   	at io.vertx.core.impl.VertxImpl.createHttpClient(VertxImpl.java:317) ~[vertx-core-3.8.3.jar:3.8.3]
   	at org.apache.servicecomb.foundation.vertx.client.http.HttpClientPoolFactory.createClientPool(HttpClientPoolFactory.java:36) ~[foundation-vertx-1.3.1.jar:1.3.1]
   	...
   Caused by: java.lang.IllegalArgumentException: Failed to load any of the given libraries: [netty_tcnative_linux_aarch_64_fedora, netty_tcnative_linux_aarch_64, netty_tcnative_aarch_64, netty_tcnative]
   	at io.netty.util.internal.NativeLibraryLoader.loadFirstAvailable(NativeLibraryLoader.java:104) ~[netty-common-4.1.47.Final.jar:4.1.47.Final]
   	at io.netty.handler.ssl.OpenSsl.loadTcNative(OpenSsl.java:581) ~[netty-handler-4.1.47.Final.jar:4.1.47.Final]
   	at io.netty.handler.ssl.OpenSsl.<clinit>(OpenSsl.java:133) ~[netty-handler-4.1.47.Final.jar:4.1.47.Final]
   	at io.vertx.core.net.impl.SSLHelper.resolveEngineOptions(SSLHelper.java:75) ~[vertx-core-3.8.3.jar:3.8.3]
   	... 19 more
   	Suppressed: java.lang.UnsatisfiedLinkError: could not load a native library: netty_tcnative_linux_aarch_64_fedora
   		at io.netty.util.internal.NativeLibraryLoader.load(NativeLibraryLoader.java:226) ...
   	Caused by: java.io.FileNotFoundException: META-INF/native/libnetty_tcnative_linux_aarch_64_fedora.so
   		at io.netty.util.internal.NativeLibraryLoader.load(NativeLibraryLoader.java:175) ~[netty-common-4.1.47.Final.jar:4.1.47.Final]
   		... 23 more
   		Suppressed: java.lang.UnsatisfiedLinkError: no netty_tcnative_linux_aarch_64_fedora in java.library.path
   			...
   			Suppressed: java.lang.UnsatisfiedLinkError: no netty_tcnative_linux_aarch_64_fedora in java.library.path
   				...
   	Suppressed: java.lang.UnsatisfiedLinkError: could not load a native library: netty_tcnative_linux_aarch_64
   		...
   ```
   
   **need any other dependency?**


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [servicecomb-java-chassis] zwwtj2014 commented on issue #2087: CSE v2.5.3 Startup on the ARM error,could not load a native library: netty_tcnative

Posted by GitBox <gi...@apache.org>.
zwwtj2014 commented on issue #2087:
URL: https://github.com/apache/servicecomb-java-chassis/issues/2087#issuecomment-734525038


   OK,3Q


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [servicecomb-java-chassis] liubao68 commented on issue #2087: CSE v2.5.3 Startup on the ARM error,could not load a native library: netty_tcnative

Posted by GitBox <gi...@apache.org>.
liubao68 commented on issue #2087:
URL: https://github.com/apache/servicecomb-java-chassis/issues/2087#issuecomment-734524854


   
   tcnativ 需要升级到 2.0.31以上版本,才支持 ARM 
   
   ```
         <dependency>
           <groupId>io.netty</groupId>
           <artifactId>netty-tcnative-boringssl-static</artifactId>
           <version>${tcnetty.version}</version>
         </dependency>
   ```
   
   这个版本已经不再提供三方件升级, 建议及时升级到 servicecomb 2.1.2及其以上版本。 


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [servicecomb-java-chassis] zwwtj2014 closed issue #2087: CSE v2.5.3 Startup on the ARM error,could not load a native library: netty_tcnative

Posted by GitBox <gi...@apache.org>.
zwwtj2014 closed issue #2087:
URL: https://github.com/apache/servicecomb-java-chassis/issues/2087


   


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org