You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Testing whether [clj-sophia](https://github.com/BrunoBonacci/clj-sophia) library can be used in a native binary image with GraalVM.
4
+
5
+
## Usage
6
+
7
+
Currently testing:
8
+
9
+
[com.brunobonacci/clj-sophia "0.5.2"]
10
+
11
+
Test with:
12
+
13
+
lein do clean, uberjar, native, run-native
14
+
15
+
16
+
At runtime the following error is thrown:
17
+
18
+
Exception in thread "main" java.lang.UnsatisfiedLinkError: Error looking up function 'sp_env': com.sun.jna.Native.findSymbol(JLjava/lang/String;)J [symbol: Java_com_sun_jna_Native_findSymbol or Java_com_sun_jna_Native_findSymbol__JLjava_lang_String_2]
19
+
at com.sun.jna.Function.<init>(Function.java:251)
20
+
at com.sun.jna.NativeLibrary.getFunction(NativeLibrary.java:566)
21
+
at com.sun.jna.NativeLibrary.getFunction(NativeLibrary.java:542)
22
+
at com.sun.jna.NativeLibrary.getFunction(NativeLibrary.java:528)
23
+
at com.sun.jna.Library$Handler.invoke(Library.java:228)
24
+
at com.sun.proxy.$Proxy180.sp_env(Unknown Source)
25
+
at com.brunobonacci.sophia.native$sp_env.invokeStatic(native.clj:121)
26
+
at com.brunobonacci.sophia.native$sp_env.invoke(native.clj:102)
27
+
at com.brunobonacci.sophia$fn__9197$sophia__9207.invoke(sophia.clj:146)
0 commit comments