sqlite-jdbc
sqlite-jdbc copied to clipboard
java.lang.UnsatisfiedLinkError: org.sqlite.core.NativeDB._open_utf8([BI)V
I'm still getting this error with latest (3.16.1) version on linux server when excute jar-file using sqlite-jdbc in parallel. It occurred after 3.15.0, but it didn't occur before 3.14 And it occurred on linux, but it didn't occur on windows.
java.lang.UnsatisfiedLinkError: org.sqlite.core.NativeDB._open_utf8([BI)V
at org.sqlite.core.NativeDB._open_utf8(Native Method)
at org.sqlite.core.NativeDB._open(NativeDB.java:71)
at org.sqlite.core.DB.open(DB.java:174)
at org.sqlite.core.CoreConnection.open(CoreConnection.java:220)
at org.sqlite.core.CoreConnection.
I'm also encountering this problem with 3.16.1 on Linux (amd64). It may be relevant that I'm using this library from a Spark job which creates multiple threads per worker.
This stopped being a problem with my Spark job after I only allowed a single SQLite JDBC connection per JVM, so it does seem likely that it's a threading issue.
I have the same problem. I see that the SQLite driver is partially inactive. One developer seems to have fixed this. Dev, you just need to merge the changes and release a new stable. https://github.com/niktsar/sqlite-jdbc/commit/69a5741c7cb6e2e3cd5e21f6bd748b7323ffce32
Hi guys, We faced the same issue with sqlite 3.27.2.1. The highest working version on our OS is 3.14.2.1.
Error:
Failed to load native library:sqlite-3.27.2.1-091a6e58-65b9-4809-bc2f-36da7a8d80e2-libsqlitejdbc.so. osinfo: Linux/armv7
java.lang.UnsatisfiedLinkError: /tmp/sqlite-3.27.2.1-091a6e58-65b9-4809-bc2f-36da7a8d80e2-libsqlitejdbc.so: /tmp/sqlite-3.27.2.1-091a6e58-65b9-4809-bc2f-36da7a8d80e2-libsqlitejdbc.so: cannot open shared object file: No such file or directory
Exception in thread "main" java.lang.UnsatisfiedLinkError: org.sqlite.core.NativeDB._open_utf8([BI)V
at org.sqlite.core.NativeDB._open_utf8(Native Method)
at org.sqlite.core.NativeDB._open(NativeDB.java:78)
at org.sqlite.core.DB.open(DB.java:195)
at org.sqlite.SQLiteConnection.open(SQLiteConnection.java:243)
at org.sqlite.SQLiteConnection.
OS Info: java -version
java version "1.8.0_121" Java(TM) SE Embedded Runtime Environment (build 1.8.0_121-b13, headless) Java HotSpot(TM) Embedded Client VM (build 25.121-b13, mixed mode)
uname -a
Linux #8 SMP PREEMPT Fri Jul 24 11:07:52 PDT 2015 armv7l GNU/Linux
cat /etc/issue
Debian GNU/Linux 7 \n \l
cat /proc/cpuinfo
processor : 0 model name : ARMv7 Processor rev 0 (v7l) Features : half thumb fastmult vfp edsp neon vfpv3 tls vfpd32 CPU implementer : 0x41 CPU architecture: 7 CPU variant : 0x3 CPU part : 0xc09 CPU revision : 0
Hardware : Xilinx Zynq Platform Revision : 0003 Serial : 0000000000000000
Is this still happening on the latest version?