-
Notifications
You must be signed in to change notification settings - Fork 17
Open
Description
I'm on macOS Catalina, and had some trouble getting the compiled C code loaded.
I first hit this issue:
% lein repl
spire.core=> (clojure.lang.RT/loadLibrary "spire")
Execution error (UnsatisfiedLinkError) at java.lang.ClassLoader/loadLibrary (ClassLoader.java:2670).
no spire in java.library.path: [./]project.clj has :jvm-opts ["-Djava.library.path=./"], but that's not where the libspire.dylib is on my system. I have that file at ~/.spire/libs. I copied the file to the spire repo and then (clojure.lang.RT/loadLibrary "spire") and the rest of Spire worked without issue. Think there's anything Spire can do to remove that obstacle?
Another note, ~/.spire/libs/libspire.dylib is created when installing spire, but not when starting up the dev environment. That makes sense in hindsight, but should probably be explicitly mentioned in whatever docs describe this process.
Metadata
Metadata
Assignees
Labels
No labels