Open siddhinath081 opened 2 years ago
I am having this same issue as well on Ubuntu 20.04 LTS.
I resolved this issue by doing the following commands found at the URL below. It seems that you must install czmq as well, if you are using zmqpp. The URL: https://github.com/zeromq/czmq#building-on-linux-and-macos
sudo apt-get update
sudo apt-get install -y git build-essential libtool pkg-config autotools-dev autoconf automake cmake uuid-dev libpcre3-dev valgrind
// only execute this next line if interested in updating the man pages as well (adds to build time): sudo apt-get install -y asciidoc
git clone git://github.com/zeromq/libzmq.git cd libzmq ./autogen.sh // do not specify "--with-libsodium" if you prefer to use internal tweetnacl security implementation (recommended for development) ./configure --with-libsodium make check sudo make install sudo ldconfig cd ..
git clone git://github.com/zeromq/czmq.git cd czmq ./autogen.sh && ./configure && make check sudo make install sudo ldconfig cd ..
More info can be found at the link.
Temporary workaround:
Comment line 600 and line 606 in src/tests/test_socket.cpp
, and run the commands below:
rm build/max-g++/obj/tests/test_socket.*
make && make check
Everything works fine.
src/tests/test_socket.cpp(600): error: in "socket/test_simple_monitor": check "tcp://0.0.0.0:0" == message.get(1) has failed [tcp://0.0.0.0:0 != tcp://127.0.0.1:44169]
I'm facing this issue.