Bug: java.lang.UnsatisfiedLinkError
Describe the bug
I encountered a java.lang.UnsatisfiedLinkError when calling the queryBind method.
Steps to reproduce
surreal.queryBind("SELECT * FROM table WHERE id = $id", paramsMap);
Expected behaviour
The queryBind method should successfully execute a parameterized query on the database without throwing any errors. It should bind the specified parameters to the query and return the expected result set or a successful response
SurrealDB version
surreal 2.0.4
Contact Details
Is there an existing issue for this?
- [X] I have searched the existing issues
Code of Conduct
- [X] I agree to follow this project's Code of Conduct
Same problem here :(
Same problem. Any plans on continuing work on this repository?
response = this.driver.queryBind( "UPSERT $what SET $object;", Map.of("what", what, "object", object) );
Caused by: java.lang.UnsatisfiedLinkError: 'long com.surrealdb.Surreal.queryBind(long, java.lang.String, java.util.Map)'
something similar : No implementation found for boolean com.surrealdb.Entry.deleteInstance(long) (tried Java_com_surrealdb_Entry_deleteInstance and Java_com_surrealdb_Entry_deleteInstance__J) - is the library loaded, e.g. System.loadLibrary? 2025-10-04 01:02:40.854 14717-14725 System com.example.kmp E Uncaught exception thrown by finalizer 2025-10-04 01:02:40.854 14717-14725 System com.example.kmp E java.lang.UnsatisfiedLinkError: No implementation found for boolean com.surrealdb.Entry.deleteInstance(long) (tried Java_com_surrealdb_Entry_deleteInstance and Java_com_surrealdb_Entry_deleteInstance__J) - is the library loaded, e.g. System.loadLibrary? at com.surrealdb.Entry.deleteInstance(Native Method) at com.surrealdb.Native.deleteInstance(Native.java:25) at com.surrealdb.Native.finalize(Native.java:58) at java.lang.Daemons$FinalizerDaemon.doFinalize(Daemons.java:339) at java.lang.Daemons$FinalizerDaemon.processReference(Daemons.java:324) at java.lang.Daemons$FinalizerDaemon.runInternal(Daemons.java:300) at java.lang.Daemons$Daemon.run(Daemons.java:145) at java.lang.Thread.run(Thread.java:1012) 2025-10-04 01:02:40.854 14717-14725 com.example.kmp com.example.kmp E No implementation found for boolean com.surrealdb.Entry.deleteInstance(long) (tried Java_com_surrealdb_Entry_deleteInstance and Java_com_surrealdb_Entry_deleteInstance__J) - is the library loaded, e.g. System.loadLibrary? 2025-10-04 01:02:40.854 14717-14725 System com.example.kmp E Uncaught exception thrown by finalizer