vonghia / sqlite4java

Automatically exported from code.google.com/p/sqlite4java
0 stars 0 forks source link

On OS X, native libraries are not loaded even when they are in the same directory as .JAR file, but it's not the current directory #59

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Download and unpack sqlite4java
2. Try java -jar sqlite4java/sqlite4java.jar

What is the expected output? What do you see instead?
Expected: library loaded
Observed: load failed

Original issue reported on code.google.com by ser...@almworks.com on 24 Mar 2014 at 9:05

GoogleCodeExporter commented 8 years ago
Actually there are several problems with recent OS X versions:

* .jnilib extension changed to .dylib, so when -Dsqlite4java.library.path is 
used, .jnilib binaries are not found
* the project does not compile on the latest version of LLVM CC (Apple LLVM 
version 5.1 (clang-503.0.40) (based on LLVM 3.4svn))

Original comment by ser...@almworks.com on 22 Sep 2014 at 10:28

GoogleCodeExporter commented 8 years ago

Original comment by evj...@almworks.com on 29 Oct 2014 at 10:44