Open kamk opened 7 years ago
Same issue here on Ubuntu 17.04: crashes on readdir_r
. @kamk made any progress on this?
Taking this a bit further I've forked another fork of this to update the underlying submodules czmq
and zeromq
but this won't help since rbczmq
itself seems to be using a deprecated v2 API. So at least the code under ext/rbczmq
should be updated to use the current API
As a temporary fix, one can install the gem by telling GCC to ignore deprecated declarations:
$ CPPFLAGS='-Wno-error=deprecated-declarations' gem install rbczmq -v '1.7.9'
Building native extensions. This could take a while...
Successfully installed rbczmq-1.7.9
1 gem installed
Same problem in Ubuntu 18.04 but the workaround by @malin-as works.
As noted above, this problem is actually one in the cmzq
library itself. This was fixed in 2016, but this binding contains an old copy of the library. The proper fix would be to update that, but it seems this package has been abandoned, pity.
When installing there's deprecation error:
Using --with-system-libs build option doesn't help, the result is error when requiring the gem:
rbczmq-089bb0029c35/lib/rbczmq_ext.so: undefined symbol: zmutex_new