This repository was archived by the owner on Feb 14, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 23
FAQ
Trevor Bernard edited this page Aug 1, 2013
·
5 revisions
The JVM throws an UnsatisfiedLinkError when it can't find the jzmq native definition. If you haven't already installed the latest libzmq, please do so. If the problem persists, you can set thejava.library.path
system variable to point where the shared library is installed. Typically you'd want an entry like the following in your application's project.clj
:
:jvm-opts ["-Djava.library.path=/usr/lib:/usr/local/lib"]
It absolutely does, jzmq and jeromq share the same API and aim to be a drop in replacement for one another. All you need to do is exclude jzmq from cljzmq and add jeromq as a dependency like so:
:dependencies [[org.clojure/clojure "1.5.1"]
[org.jeromq/jeromq "0.3.0-SNAPSHOT"]
[org.zeromq/cljzmq "0.1.1" :exclusions [org.zeromq/jzmq]]]
:repositories {"sonatype-oss-public" "https://oss.sonatype.org/content/groups/public/"}