Closed bciceron closed 11 years ago
This is correct. The gem is no longer compatible with 2.0.7. BTW, that version is nearly 3 years old. Please upgrade to 2.2.x or 3.2.
On Oct 7, 2012, at 2:04 PM, bciceron wrote:
getting runtime error:
.rbenv/versions/1.9.3-p194/lib/ruby/gems/1.9.1/gems/ffi-rzmq-0.9.6/lib/ffi-rzmq/libzmq.rb:273:in `module:ZMQ': The libzmq version 2.0.7 is incompatible with ffi-rzmq. (LoadError)
using rbenv with 1.9.3-p194 and gems : $ gem list
* LOCAL GEMS *
addressable (2.3.2) bigdecimal (1.1.0) builder (3.0.0) celluloid (0.12.1.pre) celluloid-io (0.12.1) celluloid-zmq (0.12.1) certified (0.1.1) cucumber (0.10.0) dcell (0.11.0, 0.10.0) diff-lcs (1.1.2) dynect_rest (0.4.3) expectations (2.0.0) facter (1.6.13) ffi (1.1.5) ffi-rzmq (0.9.6) gherkin (2.3.3) hiredis (0.4.5) http (0.3.0) http_parser.rb (0.5.3) io-console (0.3) json (1.5.4, 1.4.6) mime-types (1.19) minitest (2.5.1) mocha (0.9.11) moneta (0.6.0) netrc (0.7.7) nio4r (0.4.0) parallel (0.5.18) rack (1.4.1) rake (0.9.2.2, 0.8.7) rdoc (3.9.4) redis (3.0.1) redis-namespace (1.2.1) reel (0.0.2) rest-client (1.6.7) rspec (2.4.0) rspec-core (2.4.0) rspec-expectations (2.4.0) rspec-mocks (2.4.0) term-ansicolor (1.0.5) timers (1.0.1) websocket_parser (0.1.0)
tried standard gems as well as rebuilding all celluloid celluloid-io celluloid-zmq dcell ffi ffi-rzmq with same result.
running Ubuntu 10.04.4 LTS on x86_64
i tried with the standard ubuntu packages and without : $ dpkg -l | egrep -i "zmq|zeromq|0mq" rc libzmq0 2.0.10-1build1 The ZeroMQ messaging library rc libzmq1 2.2.0-1chl1~lucid1 ZeroMQ lightweight messaging kernel (shared
— Reply to this email directly or view it on GitHub.
thx for the pointer, but let me clarify .
upgrade ffi-rzmq ? but when i take the latest from github and rebuild i only get v0.9.6 and the history files also mentions "== 0.9.6 / 20120808" as the latest .
upgrade libzmq to 2.2.x ? i get the same problem when i install 2.2.0 :
ii libzmq1 2.2.0+dfsg-2ubuntu1 lightweight messaging kernel (shared library
.rbenv/versions/1.9.3-p194/lib/ruby/gems/1.9.1/gems/ffi-rzmq-0.9.6/lib/ffi-rzmq/libzmq.rb:273:in `module:ZMQ': The libzmq version 2.0.7 is incompatible with ffi-rzmq. (LoadError)
so at this point i dont see where the reference to v2.0.7 comes from , do you ?
It is pulling the version number directly out of libzmq via the zmq_version() api call. Even though you may have installed zeromq 2.2 someplace, it is finding version 2.0.7 first.
Take a look at the following link to the code that searches for libzmq.
https://github.com/chuckremes/ffi-rzmq/blob/master/lib/ffi-rzmq/libzmq.rb#L18
If you are installing 2.2.x somewhere else OR if you have 2.0.7 in a path that is checked before the one containing 2.2.x, then it will load the first library found.
Let me know what you discover.
On Oct 7, 2012, at 2:04 PM, bciceron notifications@github.com wrote:
getting runtime error:
.rbenv/versions/1.9.3-p194/lib/ruby/gems/1.9.1/gems/ffi-rzmq-0.9.6/lib/ffi-rzmq/libzmq.rb:273:in `module:ZMQ': The libzmq version 2.0.7 is incompatible with ffi-rzmq. (LoadError)
using rbenv with 1.9.3-p194 and gems : $ gem list
* LOCAL GEMS *
addressable (2.3.2) bigdecimal (1.1.0) builder (3.0.0) celluloid (0.12.1.pre) celluloid-io (0.12.1) celluloid-zmq (0.12.1) certified (0.1.1) cucumber (0.10.0) dcell (0.11.0, 0.10.0) diff-lcs (1.1.2) dynect_rest (0.4.3) expectations (2.0.0) facter (1.6.13) ffi (1.1.5) ffi-rzmq (0.9.6) gherkin (2.3.3) hiredis (0.4.5) http (0.3.0) http_parser.rb (0.5.3) io-console (0.3) json (1.5.4, 1.4.6) mime-types (1.19) minitest (2.5.1) mocha (0.9.11) moneta (0.6.0) netrc (0.7.7) nio4r (0.4.0) parallel (0.5.18) rack (1.4.1) rake (0.9.2.2, 0.8.7) rdoc (3.9.4) redis (3.0.1) redis-namespace (1.2.1) reel (0.0.2) rest-client (1.6.7) rspec (2.4.0) rspec-core (2.4.0) rspec-expectations (2.4.0) rspec-mocks (2.4.0) term-ansicolor (1.0.5) timers (1.0.1) websocket_parser (0.1.0)
tried standard gems as well as rebuilding all celluloid celluloid-io celluloid-zmq dcell ffi ffi-rzmq with same result.
running Ubuntu 10.04.4 LTS on x86_64
i tried with the standard ubuntu packages and without : $ dpkg -l | egrep -i "zmq|zeromq|0mq" rc libzmq0 2.0.10-1build1 The ZeroMQ messaging library rc libzmq1 2.2.0-1chl1~lucid1 ZeroMQ lightweight messaging kernel (shared
— Reply to this email directly or view it on GitHub.
ok - thx, i will look.
getting runtime error:
.rbenv/versions/1.9.3-p194/lib/ruby/gems/1.9.1/gems/ffi-rzmq-0.9.6/lib/ffi-rzmq/libzmq.rb:273:in `module:ZMQ': The libzmq version 2.0.7 is incompatible with ffi-rzmq. (LoadError)
using rbenv with 1.9.3-p194 and gems : $ gem list
* LOCAL GEMS *
addressable (2.3.2) bigdecimal (1.1.0) builder (3.0.0) celluloid (0.12.1.pre) celluloid-io (0.12.1) celluloid-zmq (0.12.1) certified (0.1.1) cucumber (0.10.0) dcell (0.11.0, 0.10.0) diff-lcs (1.1.2) dynect_rest (0.4.3) expectations (2.0.0) facter (1.6.13) ffi (1.1.5) ffi-rzmq (0.9.6) gherkin (2.3.3) hiredis (0.4.5) http (0.3.0) http_parser.rb (0.5.3) io-console (0.3) json (1.5.4, 1.4.6) mime-types (1.19) minitest (2.5.1) mocha (0.9.11) moneta (0.6.0) netrc (0.7.7) nio4r (0.4.0) parallel (0.5.18) rack (1.4.1) rake (0.9.2.2, 0.8.7) rdoc (3.9.4) redis (3.0.1) redis-namespace (1.2.1) reel (0.0.2) rest-client (1.6.7) rspec (2.4.0) rspec-core (2.4.0) rspec-expectations (2.4.0) rspec-mocks (2.4.0) term-ansicolor (1.0.5) timers (1.0.1) websocket_parser (0.1.0)
tried standard gems as well as rebuilding all celluloid celluloid-io celluloid-zmq dcell ffi ffi-rzmq with same result.
running Ubuntu 10.04.4 LTS on x86_64
i tried with the standard ubuntu packages and without : $ dpkg -l | egrep -i "zmq|zeromq|0mq" rc libzmq0 2.0.10-1build1 The ZeroMQ messaging library rc libzmq1 2.2.0-1chl1~lucid1 ZeroMQ lightweight messaging kernel (shared