boot-clj / boot-clj/boot

invalid java.library.path

Open
#185 6 comments 0 reactions 0 assignees View on GitHub
Documentation ready
Dominant language
Clojure
Stars
1.7k
Forks
178
PR merge metrics
No merged PRs in 30d

Description

recently I tried to boot-ize a project mostly based on opencv lib and I observed a problem with loading a native java extensions. it seems that whole the problems boils down to the wrong java.library.path which is different with boot and lein (which loads extension perfectly):

boot:

```
boot.user=> (System/getProperty "java.library.path")
"/Users/mbuczko/Library/Java/Extensions:/Library/Java/Extensions:/Network/Library/Java/Extensions:/System/Library/Java/Extensions:/usr/lib/java:."
```

lein:

```
user=> (System/getProperty "java.library.path")
"/Users/mbuczko/workspace/clojure/my-project/target/native/macosx/x86_64"

# boot --version
BOOT_CLOJURE_VERSION=1.6.0
BOOT_VERSION=2.0.0-rc13
```

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.