Sqlite persistence giving errors openhab 3.4.4-2

On 3.4.4-2, I just noticed that I’m getting persistence errors from sqlite.

2023-07-21 20:42:59.565 [WARN ] [persistence.jdbc.internal.JdbcMapper] - JDBC::openConnection: failed to open connection: Failed to initialize pool: 'void org.sqlite.core.NativeDB._open_utf8(byte[], int)'

Looks like openhab is using 3.40.0.0
2023-07-21 20:31:38.762 [INFO ] [internal.service.FeaturesServiceImpl] - org.xerial.sqlite-jdbc/3.40.0.0

However for bullseye/raspian the current latest version is
sqlite3/stable,now 3.34.1-3 armhf [installed]

This was installed using the official debian package…

Just checking here before I installed something newer from backports…

I would also like to point out some of these errors:

syslog:Jul 21 20:33:43 rpi4 karaf[8877]: OpenJDK Server VM warning: You have loaded library /var/lib/openhab/tmp/sqlite-3.40.0.0-8fa08622-1883-45a5-a9f5-f6c2ec3a840a-libsqlitejdbc.so which m
ight have disabled stack guard. The VM will try to fix the stack guard now.
syslog:Jul 21 20:33:43 rpi4 karaf[8877]: Failed to load native library:sqlite-3.40.0.0-8fa08622-1883-45a5-a9f5-f6c2ec3a840a-libsqlitejdbc.so. osinfo: Linux/aarch64
syslog:Jul 21 20:33:43 rpi4 karaf[8877]: java.lang.UnsatisfiedLinkError: /var/lib/openhab/tmp/sqlite-3.40.0.0-8fa08622-1883-45a5-a9f5-f6c2ec3a840a-libsqlitejdbc.so: /var/lib/openhab/tmp/sqli
te-3.40.0.0-8fa08622-1883-45a5-a9f5-f6c2ec3a840a-libsqlitejdbc.so: wrong ELF class: ELFCLASS64 (Possible cause: architecture word width mismatch)

Also when starting karaf I get this message:

Failed to load native library:jansi-2.4.0-6c45bfefb1cca11e-libjansi.so. osinfo: 

Linux/arm
java.lang.UnsatisfiedLinkError: /var/lib/openhab/tmp/jansi-2.4.0-6c45bfefb1cca11e-libjansi.so: /var/lib/openhab/tmp/jansi-2.4.0-6c45bfefb1cca11e-libjansi.so: cannot open shared object file: No such file or directory

Thanks.