Coder Social home page Coder Social logo

Comments (12)

metadings avatar metadings commented on June 11, 2024

See also metadings comment on Feb 10, 2016

from clrzmq4.

metadings avatar metadings commented on June 11, 2024

hehe... closing this too early... you say you have MacOSX

from clrzmq4.

metadings avatar metadings commented on June 11, 2024

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.

metadings avatar metadings commented on June 11, 2024

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.

tomwinans avatar tomwinans commented on June 11, 2024

will try this... thanks...

from clrzmq4.

metadings avatar metadings commented on June 11, 2024

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.

metadings avatar metadings commented on June 11, 2024

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.

metadings avatar metadings commented on June 11, 2024

I've made the update v4.1.0.20... Let's try. (Oh, you're on MacOSX... You need a dylib file.)

from clrzmq4.

metadings avatar metadings commented on June 11, 2024

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.

metadings avatar metadings commented on June 11, 2024

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.

sigiesec avatar sigiesec commented on June 11, 2024

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.

metadings avatar metadings commented on June 11, 2024

Closing this issue. It's too old

from clrzmq4.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.