zeromq/clrzmq

Can not build on Centos 6 with mono 3.0.2: libzmq exists, but couldn't be found

Syjgin opened this issue · 0 comments

I have installed mono from source and zeroMQ from repositories, so it exists on /usr/lib64/libzmq.so.1
When attempting to build clrzmq there are many errors like this:

  1. ForwarderDeviceTests+WithADeviceSubscription (ZeroMQ.AcceptanceTests.DeviceTests.ForwarderDeviceTests+WithADeviceSubscription)
    System.TypeInitializationException : An exception was thrown by the type initializer for ZeroMQ.Interop.LibZmq
    ----> System.DllNotFoundException : libzmq
    TearDown : System.NullReferenceException : Object reference not set to an instance of an object
    at ZeroMQ.Interop.ContextProxy.Initialize () [0x00000] in :0
    at ZeroMQ.ZmqContext.Create () [0x00000] in :0
    at ZeroMQ.AcceptanceTests.UsingThreadedDevice`1[ZeroMQ.Devices.ForwarderDevice].Initialize () [0x00000] in :0
    at (wrapper managed-to-native) System.Reflection.MonoMethod:InternalInvoke (System.Reflection.MonoMethod,object,object[],System.Exception&)
    at System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00000] in :0