failed to load the required native library #48

Open
opened 10 months ago by dovd · 1 comments
dovd commented 10 months ago

similar issue to linearcurves's from a month ago(i guess??). have this running on debian and i'm currently just playing around and trying to get a few friends to connect. the error occurs on 4.0.1, 4.0.0 however seems to be working fine.

[14:45:25] [Server thread/INFO]: Using epoll channel type
[14:45:25] [Thread-2/INFO]: req: https://broker.e4mc.link/getBestRelay GET
[14:45:25] [Server thread/INFO]: Using epoll channel type
[14:45:25] [Server thread/INFO]: Preparing level "world"
[14:45:27] [Thread-2/INFO]: resp: (GET https://broker.e4mc.link/getBestRelay) 200
[14:45:27] [Thread-2/INFO]: using relay de
[14:45:30] [Thread-2/ERROR]: Uncaught exception in thread "Thread-2"
java.lang.UnsatisfiedLinkError: failed to load the required native library
	at io.netty.incubator.codec.quic.Quic.ensureAvailability(Quic.java:78) ~[e4mc-4.0.1+1.19.4-fabric(1).jar:?]
	at io.netty.incubator.codec.quic.QuicheQuicSslContext.<init>(QuicheQuicSslContext.java:75) ~[e4mc-4.0.1+1.19.4-fabric(1).jar:?]
	at io.netty.incubator.codec.quic.QuicSslContextBuilder.build(QuicSslContextBuilder.java:374) ~[e4mc-4.0.1+1.19.4-fabric(1).jar:?]
	at vg.skye.e4mc_minecraft.QuiclimeHandler.start(QuiclimeHandler.kt:198) ~[e4mc-4.0.1+1.19.4-fabric(1).jar:?]
	at vg.skye.e4mc_minecraft.QuiclimeHandler$startAsync$1.invoke(QuiclimeHandler.kt:176) ~[e4mc-4.0.1+1.19.4-fabric(1).jar:?]
	at vg.skye.e4mc_minecraft.QuiclimeHandler$startAsync$1.invoke(QuiclimeHandler.kt:175) ~[e4mc-4.0.1+1.19.4-fabric(1).jar:?]
	at kotlin.concurrent.ThreadsKt$thread$thread$1.run(Thread.kt:30) ~[org_jetbrains_kotlin_kotlin-stdlib-1.9.22-15d961094529a964.jar:?]
Caused by: java.lang.ExceptionInInitializerError
	at io.netty.incubator.codec.quic.Quic.<clinit>(Quic.java:43) ~[e4mc-4.0.1+1.19.4-fabric(1).jar:?]
	... 6 more
Caused by: java.lang.RuntimeException: java.io.FileNotFoundException: /home/crafty/.e4mc_cache/libnetty_quiche_linux_x86_64_49.so (No such file or directory)
	at io.netty.incubator.codec.quic.Quiche.loadNativeLibrary(Quiche.java:98) ~[e4mc-4.0.1+1.19.4-fabric(1).jar:?]
	at io.netty.incubator.codec.quic.Quiche.<clinit>(Quiche.java:61) ~[e4mc-4.0.1+1.19.4-fabric(1).jar:?]
	at io.netty.incubator.codec.quic.Quic.<clinit>(Quic.java:43) ~[e4mc-4.0.1+1.19.4-fabric(1).jar:?]
	... 6 more
Caused by: java.io.FileNotFoundException: /home/crafty/.e4mc_cache/libnetty_quiche_linux_x86_64_49.so (No such file or directory)
	at java.io.FileOutputStream.open0(Native Method) ~[?:?]
	at java.io.FileOutputStream.open(FileOutputStream.java:293) ~[?:?]
	at java.io.FileOutputStream.<init>(FileOutputStream.java:235) ~[?:?]
	at java.io.FileOutputStream.<init>(FileOutputStream.java:123) ~[?:?]
	at io.netty.incubator.codec.quic.Quiche.loadNativeLibrary(Quiche.java:92) ~[e4mc-4.0.1+1.19.4-fabric(1).jar:?]
	at io.netty.incubator.codec.quic.Quiche.<clinit>(Quiche.java:61) ~[e4mc-4.0.1+1.19.4-fabric(1).jar:?]
	at io.netty.incubator.codec.quic.Quic.<clinit>(Quic.java:43) ~[e4mc-4.0.1+1.19.4-fabric(1).jar:?]
	... 6 more
similar issue to linearcurves's from a month ago(i guess??). have this running on debian and i'm currently just playing around and trying to get a few friends to connect. the error occurs on 4.0.1, 4.0.0 however seems to be working fine. ``` [14:45:25] [Server thread/INFO]: Using epoll channel type [14:45:25] [Thread-2/INFO]: req: https://broker.e4mc.link/getBestRelay GET [14:45:25] [Server thread/INFO]: Using epoll channel type [14:45:25] [Server thread/INFO]: Preparing level "world" [14:45:27] [Thread-2/INFO]: resp: (GET https://broker.e4mc.link/getBestRelay) 200 [14:45:27] [Thread-2/INFO]: using relay de [14:45:30] [Thread-2/ERROR]: Uncaught exception in thread "Thread-2" java.lang.UnsatisfiedLinkError: failed to load the required native library at io.netty.incubator.codec.quic.Quic.ensureAvailability(Quic.java:78) ~[e4mc-4.0.1+1.19.4-fabric(1).jar:?] at io.netty.incubator.codec.quic.QuicheQuicSslContext.<init>(QuicheQuicSslContext.java:75) ~[e4mc-4.0.1+1.19.4-fabric(1).jar:?] at io.netty.incubator.codec.quic.QuicSslContextBuilder.build(QuicSslContextBuilder.java:374) ~[e4mc-4.0.1+1.19.4-fabric(1).jar:?] at vg.skye.e4mc_minecraft.QuiclimeHandler.start(QuiclimeHandler.kt:198) ~[e4mc-4.0.1+1.19.4-fabric(1).jar:?] at vg.skye.e4mc_minecraft.QuiclimeHandler$startAsync$1.invoke(QuiclimeHandler.kt:176) ~[e4mc-4.0.1+1.19.4-fabric(1).jar:?] at vg.skye.e4mc_minecraft.QuiclimeHandler$startAsync$1.invoke(QuiclimeHandler.kt:175) ~[e4mc-4.0.1+1.19.4-fabric(1).jar:?] at kotlin.concurrent.ThreadsKt$thread$thread$1.run(Thread.kt:30) ~[org_jetbrains_kotlin_kotlin-stdlib-1.9.22-15d961094529a964.jar:?] Caused by: java.lang.ExceptionInInitializerError at io.netty.incubator.codec.quic.Quic.<clinit>(Quic.java:43) ~[e4mc-4.0.1+1.19.4-fabric(1).jar:?] ... 6 more Caused by: java.lang.RuntimeException: java.io.FileNotFoundException: /home/crafty/.e4mc_cache/libnetty_quiche_linux_x86_64_49.so (No such file or directory) at io.netty.incubator.codec.quic.Quiche.loadNativeLibrary(Quiche.java:98) ~[e4mc-4.0.1+1.19.4-fabric(1).jar:?] at io.netty.incubator.codec.quic.Quiche.<clinit>(Quiche.java:61) ~[e4mc-4.0.1+1.19.4-fabric(1).jar:?] at io.netty.incubator.codec.quic.Quic.<clinit>(Quic.java:43) ~[e4mc-4.0.1+1.19.4-fabric(1).jar:?] ... 6 more Caused by: java.io.FileNotFoundException: /home/crafty/.e4mc_cache/libnetty_quiche_linux_x86_64_49.so (No such file or directory) at java.io.FileOutputStream.open0(Native Method) ~[?:?] at java.io.FileOutputStream.open(FileOutputStream.java:293) ~[?:?] at java.io.FileOutputStream.<init>(FileOutputStream.java:235) ~[?:?] at java.io.FileOutputStream.<init>(FileOutputStream.java:123) ~[?:?] at io.netty.incubator.codec.quic.Quiche.loadNativeLibrary(Quiche.java:92) ~[e4mc-4.0.1+1.19.4-fabric(1).jar:?] at io.netty.incubator.codec.quic.Quiche.<clinit>(Quiche.java:61) ~[e4mc-4.0.1+1.19.4-fabric(1).jar:?] at io.netty.incubator.codec.quic.Quic.<clinit>(Quic.java:43) ~[e4mc-4.0.1+1.19.4-fabric(1).jar:?] ... 6 more ```
me commented 10 months ago
Owner

okay, huh. try removing /home/crafty/.e4mc_cache/libnetty_quiche_linux_x86_64_49.so? if it doesn't exist, maybe the directory itself? if you're using snap/flatpak for mc, that might be it(I should probably look into making this more reliable huh)

okay, huh. try removing `/home/crafty/.e4mc_cache/libnetty_quiche_linux_x86_64_49.so`? if it doesn't exist, maybe the directory itself? if you're using snap/flatpak for mc, that might be it(I should probably look into making this more reliable huh)
me added the bug label 10 months ago
Sign in to join this conversation.
Loading…
There is no content yet.