This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2023-05-23
Channels
- # ai (1)
- # aleph (1)
- # announcements (7)
- # babashka (87)
- # beginners (34)
- # biff (9)
- # clerk (4)
- # clojars (37)
- # clojure (142)
- # clojure-art (12)
- # clojure-europe (13)
- # clojure-nl (1)
- # clojure-norway (4)
- # clojure-uk (2)
- # clr (5)
- # conjure (1)
- # data-science (1)
- # datahike (7)
- # datalevin (6)
- # datomic (13)
- # events (1)
- # fulcro (1)
- # graalvm (5)
- # gratitude (1)
- # honeysql (4)
- # hyperfiddle (122)
- # malli (26)
- # nbb (2)
- # off-topic (16)
- # portal (93)
- # practicalli (1)
- # re-frame (1)
- # reitit (15)
- # releases (3)
- # remote-jobs (1)
- # shadow-cljs (5)
- # tools-deps (6)
- # xtdb (4)
I'm building a graalvm binary that has a dependency in pty4j
and I'm getting this:
Exception in thread "main" java.util.concurrent.ExecutionException: java.util.concurrent.ExecutionException: java.lang.UnsatisfiedLinkError: Native library (com/sun/jna/linux-x86-64/libjnidispatch.so) not found in resource path ()
I tried adding
"-H:IncludeResources=\"com/pty4j/native/*\""
"-H:IncludeResources=\"com/sun/jna/*\""
to my native-image
build command, but no luck. Any ideas?I found out that the quotes are not needed, so just
"-H:IncludeResources=com/sun/jna/.*"
gets me to the next error:
JNA: Problems loading core IDs: java.lang.Object
java.util.concurrent.ExecutionException: java.lang.UnsatisfiedLinkError: Unsupported JNI version 0x0, required by /home/user/.cache/JNA/temp/jna10412583019841892782.tmp