Describe the bug
The SQLite build for Armv7 requires GLIBC 2.28 or newer
To Reproduce
Attempt to open an SQLite DB on a system with GLIBC older than 2.28
Expected behavior
Supported or a note about required GLIBC version
Logs
Failed to load native library:sqlite-3.41.2.0-842e0da6-6bae-48b3-a6e1-2b695cd7b2d3-libsqlitejdbc.so. osinfo: Linux/armv7
/var/volatile/tmp/sqlite-3.41.2.0-842e0da6-6bae-48b3-a6e1-2b695cd7b2d3-libsqlitejdbc.so: /lib/libc.so.6: version `GLIBC_2.28' not found (required by /var/volatile/tmp/sqlite-3.41.2.0-842e0da6-6bae-48b3-a6e1-2b695cd7b2d3-libsqlitejdbc.so)
java.lang.UnsatisfiedLinkError: 'void org.sqlite.core.NativeDB._open_utf8(byte[], int)'
at org.sqlite.core.NativeDB._open_utf8(Native Method)
at org.sqlite.core.NativeDB._open(NativeDB.java:79)
at org.sqlite.core.DB.open(DB.java:216)
at org.sqlite.SQLiteConnection.open(SQLiteConnection.java:289)
at org.sqlite.SQLiteConnection.<init>(SQLiteConnection.java:69)
at org.sqlite.jdbc3.JDBC3Connection.<init>(JDBC3Connection.java:28)
at org.sqlite.jdbc4.JDBC4Connection.<init>(JDBC4Connection.java:19)
at org.sqlite.JDBC.createConnection(JDBC.java:104)
at org.sqlite.JDBC.connect(JDBC.java:77)
at java.sql/java.sql.DriverManager.getConnection(DriverManager.java:681)
at java.sql/java.sql.DriverManager.getConnection(DriverManager.java:252)
Environment (please complete the following information):
$ uname -a
Linux opto-05-3a-66 4.1.15-rt18-nxtio-2.1.0+g28bea2e #2 SMP PREEMPT RT Tue Aug 30 22:41:14 PDT 2022 armv7l GNU/Linux
- OS: linux/yocto
- CPU architecture: armv7
- sqlite-jdbc version all versions after 3.35.5.3 (not including 3.35.5.3)
Describe the bug
The SQLite build for Armv7 requires GLIBC 2.28 or newer
To Reproduce
Attempt to open an SQLite DB on a system with GLIBC older than 2.28
Expected behavior
Supported or a note about required GLIBC version
Logs
Environment (please complete the following information):