Open hlship opened 11 years ago
Maybe in your project.clj, add
:jvm-opts "-Djna.library.path=target/native/macosx/x86_64:target/native/linux/x86_64:target/native/linux/x86"
Who is responsible for setting up target/native? Is that something from clj-v8?
I'm on a Mac but the rest of my team is on Windows and can't run the app, even setting the engine to :rhino.
I'm actually unclear on that (it's from clj-v8, and it should just work, but we've added it to our app).
You could extend clj-v8 for windows (should be straightforward I think). I don't know why it won't work with the engine as rhino - sounds like a bug :(
I get the same error, using IntelliJ IDEA with the La Clojure plugin.
FWIW I'm seeing this when deploying to immutant. I think dieter is trying to load v8 even when it's not in use.
Any idea what this is about:
CompilerException java.lang.UnsatisfiedLinkError: Unable to load library 'v8wrapper': dlopen(libv8wrapper.dylib, 9): image not found, compiling:(core.clj:25:14)
An earlier version of my app executed using Leiningen, and worked fine. Switching over to Gradle (to launch nRepl) fails.