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

Issue #59 resolved
Former user created an issue

Originally reported on Google Code with ID 59

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

Reported by sereda@almworks.com on 2014-03-24 21:05:09

Comments (2)

  1. Former user Account Deleted
    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))

    Reported by sereda@almworks.com on 2014-09-22 10:28:42

  2. Log in to comment