Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Failed to load any of the given libraries: [netty_tcnative_linux_ppcle_64, netty_tcnative_linux_ppcle_64_fedora, netty_tcnative_ppcle_64, netty_tcnative] #531

Open
xushirain opened this issue Mar 10, 2020 · 4 comments

Comments

@xushirain
Copy link

xushirain commented Mar 10, 2020

#uname -a:
Linux node1 4.14.0-49.el7a.ppc64le #1 SMP Wed Mar 14 13:58:40 UTC 2018 ppc64le ppc64le ppc64le GNU/Linux
#java -version:
java version "1.8.0_231"
Java(TM) SE Runtime Environment (build 8.0.6.0 - pxl6480sr6-20191107_01(SR6))
IBM J9 VM (build 2.9, JRE 1.8.0 Linux ppc64le-64-Bit Compressed References 20191106_432135 (JIT enabled, AOT enabled)
OpenJ9 - f0b6be7
OMR - 18d8f94
IBM - 233dfb5)
JCL - 20191016_01 based on Oracle jdk8u231-b10

I am using netty_tcnativein in my java application,but something went wrong when I debugged it.
Does netty_tcnative support ppcle architecture?

@normanmaurer
Copy link
Member

@xushirain no it does not... you will need to compile itty yourself

@xushirain
Copy link
Author

I've already compiled it。Now there's this error in the startup project
image

@xushirain
Copy link
Author

this mistake has happened before
image
The solution to this error is for me to move the compiled *.so to /usr/local/lib
but i don't know how to resovle the io/netty/internal/tcnative/Library.aprMajorVersion()I
I used netty-tcnative-boringssl-static-2.0.20.Final.jar package in my project.

@daker2016
Copy link

@xushirain
I think in you build jar file(netty-tcnative-boringssl-static-2.0.20.Final.jar,) META-INF/native folder is not exist.Maybe you can use the build jar which is name contains platform-specific classifie like netty-tcnative-boringssl-static-2.0.20.Final-osx-x86_64.jar which contains the META-INF/native folder.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants