Problem: pkg-config file cannot be used for static linking on CentOS 7
Solution: add -lm to Libs.private of libzmq.pc so that the std::ceil usage in src/decoder_allocators.cpp is satisfied during static linking on CentOS 7. See https://github.com/zeromq/libzmq/issues/3710 for a reproducer.
Showing
Please
register
or
sign in
to comment