Trying to run sqlite on raspberry pi I now get java exception 'No native library found for os.name=Linux, os.arch=aarch64' . I'm using sqlite release 3.44.1.0 (xerial download) on OpenJDK 11 java on raspberry pi. It was working swell for months until 5 days ago (Nov 25 '23), then without any change on my part this error started appearing. This occurs:
at org.sqlite.SQLiteConnection.open(SQLiteConnection.java:283)
at org.sqlite.SQLiteConnection.<init>(SQLiteConnection.java:67)
I checked, the jar file contains file org/sqlite/native/Linux/aarch64/libsqlitejdbc.so.
A similar problem was reported on this forum in October 2021. The answer then was to upgrade to the latest release, which on xerial is 3.44.1.0, but I tried that and many prior releases--all still fail.
The secondary java exception resulting from the first exception above is:
"OpenJDK Server VM warning: You have loaded library /tmp/sqlite-3.44.1.0-169a0270-6b5b-4f3d-8994-41cc47c85b72-libsqlitejdbc.so which might have disabled stack guard. "
at org.sqlite.SQLiteConnection.open(SQLiteConnection.java:283)
at org.sqlite.SQLiteConnection.<init>(SQLiteConnection.java:67)
I checked, the jar file contains file org/sqlite/native/Linux/aarch64/libsqlitejdbc.so.
A similar problem was reported on this forum in October 2021. The answer then was to upgrade to the latest release, which on xerial is 3.44.1.0, but I tried that and many prior releases--all still fail.
The secondary java exception resulting from the first exception above is:
"OpenJDK Server VM warning: You have loaded library /tmp/sqlite-3.44.1.0-169a0270-6b5b-4f3d-8994-41cc47c85b72-libsqlitejdbc.so which might have disabled stack guard. "