hi everyone, I created a small project in java using the couchbaselite 3.1.1 library…I wanted to compile it for an arm64 architecture and I get this error how can I use this library in arm64
thanks in advance for the help
OpenJDK Client VM warning: You have loaded library /home/level/TestCouchBaseLite/CouchbaseLiteTemp/d3641d7d6861cb9e1ca084b36a0e924f/libLiteCore.so which might have disabled stack guard. The VM will try to fix the stack guard now.
It’s highly recommended that you fix the library with ‘execstack -c ’, or link it with ‘-z noexecstack’.
Exception in thread “main” java.lang.IllegalStateException: Cannot load native library libLiteCore.so @/home/level/TestCouchBaseLite/CouchbaseLiteTemp/d3641d7d6861cb9e1ca084b36a0e924f/libLiteCore.so for Linux/arm
at com.couchbase.lite.internal.NativeLibrary.load(NativeLibrary.java:111)
at com.couchbase.lite.internal.CouchbaseLiteInternal.init(CouchbaseLiteInternal.java:74)
at com.couchbase.lite.CouchbaseLite.init(CouchbaseLite.java:72)
at com.couchbase.lite.CouchbaseLite.init(CouchbaseLite.java:56)
at com.couchbase.lite.CouchbaseLite.init(CouchbaseLite.java:42)
at igesa.MaincouchBaseLite.main(MaincouchBaseLite.java:35)
Caused by: java.lang.UnsatisfiedLinkError: /home/level/TestCouchBaseLite/CouchbaseLiteTemp/d3641d7d6861cb9e1ca084b36a0e924f/libLiteCore.so: /home/level/TestCouchBaseLite/CouchbaseLiteTemp/d3641d7d6861cb9e1ca084b36a0e924f/libLiteCore.so: wrong ELF class: ELFCLASS64 (Possible cause: architecture word width mismatch)
at java.lang.ClassLoader$NativeLibrary.load(Native Method)
at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1934)
at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1817)
at java.lang.Runtime.load0(Runtime.java:810)
at java.lang.System.load(System.java:1088)
at com.couchbase.lite.internal.NativeLibrary.load(NativeLibrary.java:107)
… 5 more