[zeromq-dev] Mono: DllNotFoundException

Pekka Järvinen pekka.jarvinen at gmail.com
Sun Apr 26 17:32:53 CEST 2009


I'm trying to use ZeroMQ with Mono. I've compiled trunk version 1392.
I'm running Ubuntu and MonoDevelop out-of-the-box (VMWare).

I'm getting error:
Unhandled Exception: System.DllNotFoundException: libczmq
  at (wrapper managed-to-native) Zmq:zmq_create (string)
  at Zmq.Open (System.String host) [0x00000]
  at rd.MainClass.Main (System.String[] args) [0x00017] in Main.cs:39

Which is
 Zmq zmq = new Zmq();
 zmq.Open(""); // This!

I don't have libczmq.dll anywhere but it's compiled to .so file. I
also tried throwing it from Windows package version to my project but
without luck. CLR version is compiled into DLL file successfully

What I'm missing?

Documentation of CLR side is a bit empty.

Pekka Järvinen

More information about the zeromq-dev mailing list