kohlschutter / junixsocket

Unix Domain Sockets in Java 7 and newer (AF_UNIX), AF_TIPC, AF_VSOCK, and more
Apache License 2.0
433 stars 114 forks source link

Could not load native library junixsocket-native for architecture amd64-Linux #94

Closed Wyvest closed 2 years ago

Wyvest commented 3 years ago

Describe the bug Continuation of #81. Getting the error Could not load native library junixsocket-native for architecture amd64-Linux on an Arch Linux machine (not sure what version) and Kubuntu 21.04.

To Reproduce Steps to reproduce the behavior:

  1. Try to connect using junixsocket

Expected behavior for junixsocket to not crash

Environment (please complete the following information):

Supported capabilities: [CAPABILITY_PEER_CREDENTIALS, CAPABILITY_ANCILLARY_MESSAGES, CAPABILITY_FILE_DESCRIPTORS, CAPABILITY_ABSTRACT_NAMESPACE, CAPABILITY_DATAGRAMS, CAPABILITY_NATIVE_SOCKETPAIR] Unsupported capabilities: []

Selftest PASSED

Notes Add any other context about the problem here. Please link/attach any source code that is useful to diagnose the issue. I get the error while using https://github.com/cbyrneee/KDiscordIPC, and not sure if the issue is from KDiscordIPC (but it most likely is a junixsocket problem). Will provide more info if necessary (I'm unsure on what info to provide)

kohlschuetter commented 2 years ago

Thanks for reporting! The selftest passed, so that means junixsocket works on your machine.

For further diagnosis, please provide the entire output from selftest (including property information). Please ensure that you're running KDiscordIPC using the same Java VM as the selftest. It would also help to see the classpath of that application. Ultimately, I'd file a bug report with KDiscordIPC, that way we can gather more actionable information.