“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.
Install Xcode from AppStore
Install xeonbit dependencies:
brew install boost --c++11
brew install openssl– to install openssl headers
brew install pkgconfig
brew install cmake
brew install zeromq
zmq.hppfrom https://github.com/zeromq/cppzmq to
/usr/local/includeshould fix that error.
brew install qt5(or download QT 5.8+ from qt.io)
brew link --force --overwrite qt5
Add the Qt bin directory to your pathExample:
export PATH=$PATH:$HOME/Qt/5.11.1/clang_64/binThis 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