caoimhebyrne / KDiscordIPC

A Kotlin library for interacting with Discord via IPC
MIT License
49 stars 8 forks source link

KDiscordIPC cannot load junixsocket-native for amd64-Linux #5

Closed Wyvest closed 3 years ago

Wyvest commented 3 years ago

KDiscordIPC throws Caused by: SocketConnectionException(reason=Could not load native library junixsocket-native for architecture amd64-Linux) at dev.cbyrne.kdiscordipc.socket.impl.UnixSystemSocket.connect(UnixSystemSocket.kt:47) at dev.cbyrne.kdiscordipc.socket.DiscordSocket.connect(DiscordSocket.kt:76) at dev.cbyrne.kdiscordipc.DiscordIPC.connect(DiscordIPC.kt:95) when trying to connect.

This error occurs on my Kubuntu 21.04 machine and someone else's Arch Linux machine

caoimhebyrne commented 3 years ago

Will update to the latest JUnixSocket in the next few days, should resolve this issue.

Wyvest commented 3 years ago

moment

caoimhebyrne commented 3 years ago

I've been busy over the last few days, I will get to this soon.

Wyvest commented 3 years ago

for some strange reason this still occurs? Even downgrading doesn't work, which is stange as the issue that mentions it has that as a temporary fix

caoimhebyrne commented 3 years ago

Not my issue. Can't do anything about it, sorry.

Wyvest commented 3 years ago

Actually, it may be because of https://github.com/kohlschutter/junixsocket/issues/93 . perhaps the jitpack should be used instead of mavenCentral?

Wyvest commented 3 years ago

nevermind.

Wyvest commented 3 years ago

Strange, running the selftest jar seems to work. Perhaps it's an issue on my end?