Cannot load native library

Hey All,

I have created one Spring boot application with couchbase Lite Java as maven dependency. Application is getting up in my local having windows OS. But, when I try to run my executable jar on Linux ubuntu machine I am getting following error on couchbase Init.

Caused by: java.lang.IllegalStateException: Cannot load native library @/greengrass/v2/work/DatabaseManager/CouchbaseLiteTemp/7eeb7166a5fd30ef3bfdbbd40057ccae/ for Linux/amd64.

Nalay Patel

Have you looked to see what is in /greengrass/v2/work/DatabaseManager/CouchbaseLiteTemp/7eeb7166a5fd30ef3bfdbbd40057ccae ?

You haven’t posted any of the stacktrace that the code generates, when this failure occurs. That will make it pretty difficult for me to locate the problem, precisely.

I would guess that the problem is that your Linux system is identifying itself as an “amd64” instead of an “x86_64”, which is the only ABI that we support.