question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Unable to load the library: netty-tcnative-osx-x86_64.

See original GitHub issue

pushy 0.7.3 idea gradle

> java.lang.UnsatisfiedLinkError: no netty-tcnative-osx-x86_64 in java.library.path
>   at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1865)
>   at java.lang.Runtime.loadLibrary0(Runtime.java:870)
>   at java.lang.System.loadLibrary(System.java:1122)
>   at io.netty.util.internal.NativeLibraryLoader.load(NativeLibraryLoader.java:189)
>   at io.netty.util.internal.NativeLibraryLoader.loadFirstAvailable(NativeLibraryLoader.java:161)
>   at io.netty.handler.ssl.OpenSsl.loadTcNative(OpenSsl.java:238)
>   at io.netty.handler.ssl.OpenSsl.<clinit>(OpenSsl.java:65)
>   at com.relayrides.pushy.apns.ApnsClient.getBaseSslContextBuilder(ApnsClient.java:400)
>   at com.relayrides.pushy.apns.ApnsClient.getSslContextWithCertificateAndPrivateKey(ApnsClient.java:392)
>   at com.relayrides.pushy.apns.ApnsClient.getSslContextWithP12InputStream(ApnsClient.java:388)
>   at com.relayrides.pushy.apns.ApnsClient.getSslContextWithP12File(ApnsClient.java:365)
>   at com.relayrides.pushy.apns.ApnsClient.<init>(ApnsClient.java:266)
>   at com.relayrides.pushy.apns.ApnsClient.<init>(ApnsClient.java:239)

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Comments:7 (1 by maintainers)

github_iconTop GitHub Comments

7reactions
Areiicommented, Jun 22, 2016

fixed add compile group: ‘io.netty’, name: ‘netty-tcnative-boringssl-static’, version: ‘1.1.33.Fork17’

1reaction
jchamberscommented, May 12, 2018

So two things here:

  1. Netty/netty-tcnative will try a number of strategies to load the appropriate native library. It may generate some debugging noise in the process, which is harmless. Unless this is blocking notifications from going out, I wouldn’t worry about it.
  2. As of Pushy v0.13.0, netty-tcnative isn’t required at all for Java 8 and newer. You can just exclude it as a dependency if you’d like. After #603 goes in, netty-tcnative won’t be included as a dependency unless it’s unavoidable.
Read more comments on GitHub >

github_iconTop Results From Across the Web

Failed to load any of the given libraries ... - GitHub
I am trying to call Google AutoML Vision model. I have this dependency in my project io.netty netty-tcnative 2.0.0.Final windows-x86_64. Why ...
Read more >
Failed to load any of the given libraries: [netty-tcnative-linux ...
I found out the solution, i upgraded netty-tcnative-boringssl-static to 2.0.7 and with this change all the other versions had to be upgraded ...
Read more >
Unable to load the library: netty-tcnative-osx-x86_64
NativeLibraryLoader - Unable to load the library: netty-tcnative-osx-x86_64. java.lang.NullPointerException. at io.netty.util.internal.
Read more >
io.netty.handler.ssl.OpenSsl Maven / Gradle / Ivy
Set; /** * Tells if {@code netty-tcnative} and its OpenSSL support * are available. ... If loading the library failed above, // reset...
Read more >
Java example source code file (OpenSsl.java) - Alvin Alexander
If in the classpath, try to load the native library and initialize netty-tcnative. if (cause == null) { try { // The JNI...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found