“dyld: library not loaded: /usr/local/opt/zeromq/lib/libzmq.5.dylib”

As you may see there is missing some library in the MAC OS system, we should install them by yourself to process the xeonbitd daemon:

If you dont want to install Xcode then just skip it. Based on the error above you only need to install zeromq lib then we just install homebrew and zeromq.

Depend on which package missing then we will apply for it.

  1. Install Xcode from AppStore
  2. Install homebrew
  3. Install  xeonbit dependencies:
brew install boost --c++11
brew install openssl – to install openssl headers
brew install pkgconfig
brew install cmake
brew install zeromq
Note: If cmake can not find zmq.hpp file on OS X, installing zmq.hpp from https://github.com/zeromq/cppzmq to /usr/local/include should fix that error.
brew install qt5 (or download QT 5.8+ from qt.io)
If you have an older version of Qt installed via homebrew, you can force it to use 5.x like so:
brew link --force --overwrite qt5
  1. Add the Qt bin directory to your path
    Example: export PATH=$PATH:$HOME/Qt/5.11.1/clang_64/bin
    This is the directory where Qt 5.x is installed on your system

    “xcode-select: error: invalid developer directory ‘Library/Developer/CommandLineTools’ Failled durring: /usr/bin/sudo /usr/bin/xcode-select –switch /Library/Developer/ComandLineTools”
     Run the following commands to fix the above errorsudo xcode-select –install
    sudo xcode-select -switch /
    I found the answer on https://github.com/Homebrew/homebrew/issues/23500

    I also had to do this:

    sudo chown -R $(whoami):admin /usr/local
    Because of some permission issues. However, do this only if you have to

What's your reaction?
0COOL0WTF1LOVE0LOL

Leave a comment