apache / apache/pulsar

no org_apache_pulsar_shade_netty_tcnative_x86_64 in java.library.path

Open
#19,122 3 comments 0 reactions 0 assignees View on GitHub
Stale type/bug
Dominant language
Java
Stars
15.3k
Forks
3.8k
Avg merge
1d 14h
Merged PRs (30d)
160

Description

### Search before asking

- [X] I searched in the [issues](https://github.com/apache/pulsar/issues) and found nothing similar.

### Version

**Pulsar-cilent 2.10, when I started the project, I got an error.**
` Caused by: java.io.FileNotFoundException: META-INF/native/org_apache_pulsar_shade_netty_tcnative_x86_64.dll
at org.apache.pulsar.shade.io.netty.util.internal.NativeLibraryLoader.load(NativeLibraryLoader.java:171) ~[pulsar-client-2.10.0.jar:2.10.0]
... 39 more
Suppressed: java.lang.UnsatisfiedLinkError: no org_apache_pulsar_shade_netty_tcnative_x86_64 in java.library.path
at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1867) ~[?:1.8.0_202]
at java.lang.Runtime.loadLibrary0(Runtime.java:870) ~[?:1.8.0_202]
at java.lang.System.loadLibrary(System.java:1122) ~[?:1.8.0_202]`
**could you help me? thanks**

### Minimal reproduce step

1. os win10
2. java 8

### What did you expect to see?

no error.

### What did you see instead?

no need

### Anything else?

_No response_

### Are you willing to submit a PR?

- [X] I'm willing to submit a PR!

Contributor guide

Open the contributing guide

Research direction

Start with org.apache.pulsar.shade.io.netty.util.internal.NativeLibraryLoader in the stack trace and investigate why META-INF/native/org_apache_pulsar_shade_netty_tcnative_x86_64.dll is unavailable on Windows with Pulsar client 2.10 and Java 8. Reproduce the reported Win10 startup failure and verify that the client starts without the native-library error.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
backend, distributed-systems
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.