Comments (12)
See also metadings comment on Feb 10, 2016
from clrzmq4.
hehe... closing this too early... you say you have MacOSX
from clrzmq4.
You need a git pull origin master
or git clone https://github.com/zeromq/clrzmq4
...
and rebuild the package to try the new lib/Platform.cs
namespace ZeroMQ.lib { // ...
public static partial class Platform { //...
static Platform() { // ...
IsMonoMac = assemblies.Any(a => a.GetName().Name.Equals("MonoMac", StringComparison.InvariantCultureIgnoreCase));
if (IsMonoMac) {
Kind = PlatformKind.Posix;
Name = PlatformName.MacOSX;
}
// ...
public static bool IsMonoMac { get; private set; }
// ...
from clrzmq4.
Look: The directives
Platform.Kind = PlatformKind.Posix;
Platform.Name = PlatformName.MacOSX;
just mean this will override by class Platform.Posix
and then by class Platform.MacOSX
.
from clrzmq4.
will try this... thanks...
from clrzmq4.
Hey! I've made a new ZeroMQ/clrzmq4 release also available on nuget.
You should now get an exception, that instead of a .so
, a .dylib
file is missing... I can't make such a dylib file because I don't have a Mac... However, you can make one, then put the file into the amd64
folder.
I'm open for publishing a .dylib
file, you just need to make libzmq (v4.1)
with libsodium
and openpgm
- and tell me which compiler version you used.
from clrzmq4.
On Linux and also for MacOSX systems, I've updated the code to properly load files from, for example
[0]: "/home/metadings/zguide/examples/C#/bin/Debug/amd64/libsodium.so.*"
[1]: "/home/metadings/zguide/examples/C#/bin/Debug/x64/libsodium.so.*"
[2]: "/home/metadings/zguide/examples/C#/bin/Debug/amd64/libsodium.so"
[3]: "/home/metadings/zguide/examples/C#/bin/Debug/x64/libsodium.so"
[4]: "/usr/lib/x86_64-linux-gnu/libfakeroot/libsodium.so.*"
[5]: "/usr/lib/i386-linux-gnu/mesa/libsodium.so.*"
[6]: "/lib/i386-linux-gnu/libsodium.so.*"
[7]: "/usr/lib/i386-linux-gnu/libsodium.so.*"
[8]: "/usr/local/lib/libsodium.so.*"
[9]: "/lib/x86_64-linux-gnu/libsodium.so.*"
[10]: "/usr/lib/x86_64-linux-gnu/libsodium.so.*"
[11]: "/usr/lib/x86_64-linux-gnu/mesa-egl/libsodium.so.*"
[12]: "/usr/lib/x86_64-linux-gnu/mesa/libsodium.so.*"
[13]: "/usr/lib/x86_64-linux-gnu/libfakeroot/libsodium.so"
[14]: "/usr/lib/i386-linux-gnu/mesa/libsodium.so"
[15]: "/lib/i386-linux-gnu/libsodium.so"
[16]: "/usr/lib/i386-linux-gnu/libsodium.so"
[17]: "/usr/local/lib/libsodium.so"
[18]: "/lib/x86_64-linux-gnu/libsodium.so"
[19]: "/usr/lib/x86_64-linux-gnu/libsodium.so"
[20]: "/usr/lib/x86_64-linux-gnu/mesa-egl/libsodium.so"
[21]: "/usr/lib/x86_64-linux-gnu/mesa/libsodium.so"
Please do a git pull zeromq master
to try the changes.
I do need new binaries for the i386
, amd64
folders. Would you like to make the dylib
file?
from clrzmq4.
I've made the update v4.1.0.20... Let's try. (Oh, you're on MacOSX... You need a dylib
file.)
from clrzmq4.
I do want to close this issue, because I changed to lookup for the .dylib
on MacOSX in multiple folders on Posix.
However, I don't know about the issue, because I don't have a Mac.
Please create such a .dylib
file in xcode, using libzmq
, libsodium
and possibly libpgm
.
Then go forking this project ZeroMQ/clrzmq4
, call git add -f amd64/libzmq.dylib
and send me a PR!
Now I'm also using a method EnumerateLibLdConf
which enumerates ld.so.conf
;
with the directive include /etc/ld.so.conf.d/*.conf
, the method also looks into folders /lib/
, /usr/lib/
, /usr/local/lib/
etc.
from clrzmq4.
May I ask you, if you have a /etc/ld.so.conf
at all?
If you don't have this file, I need to update LibraryPaths to the default .dylib
search paths.
from clrzmq4.
I added CI for Mac OS X via #104. I needed to do some changes in the library loading code to get this to run. I install libzmq via MacPorts there, see the build.sh script.
Can you try that version, and see if it works in your environment?
from clrzmq4.
Closing this issue. It's too old
from clrzmq4.
Related Issues (20)
- News on ZeroMQ/clrzmq4 - New Initial Release HOT 4
- NuGet v4.1.0.28 does not include i386 and amd64 libs HOT 10
- latest v4.1.0.30 not include libsodium.dll while create instance HOT 1
- How do you see the times for request/reply messages processed?
- Fails to create ZContext under .net Core 3.0 HOT 7
- Heartbeat incompatibility with jeromq using curve
- Shared library issues with DotNet Core 2.1 under Linux HOT 1
- Nuget package with version that supports netstandard2.0 HOT 4
- Cannot get Ironhouse ZGuideExample to work
- Crash in ZSocket.SendMessage()
- Windows KERNELBASE exception and growing delay HOT 1
- Subscriptions not delivered to late publisher
- Missing Server/Client sockets HOT 1
- Non-conformant nuget package folder layout
- Please, make release with libzmq v4.3.4 included HOT 2
- Better signature to send string from ROUTER to DEALER
- NullReferenceException from ZeroMQ.ZPollItems.PollIn in ROUTER<-->DEALER communication
- Bug in public virtual bool Send(IEnumerable<ZFrame> frames, ZSocketFlags flags, out ZError error) HOT 2
- Correct handling of timeout during polling
- Receive event when a subscriber is connected
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from clrzmq4.