[zeromq-dev] zeromq-dev Digest, Vol 49, Issue 7

Chuck Remes cremes.devlist at mac.com
Sat Jan 7 18:15:21 CET 2012


On Jan 7, 2012, at 7:46 AM, Jim Hodapp wrote:

> Sure:
> 
> file /usr/local/lib/libzmq.1.dylib:
> 
> 	/usr/local/lib/libzmq.dylib: Mach-O 64-bit dynamically linked shared library x86_64
> 
> And file `which ruby`:
> 
> 	/usr/bin/ruby: Mach-O universal binary with 2 architectures
> 	/usr/bin/ruby (for architecture x86_64):	Mach-O 64-bit executable x86_64
> 	/usr/bin/ruby (for architecture i386):	Mach-O executable i386
> 
> ruby -v:
> 
> 	ruby 1.8.7 (2010-01-10 patchlevel 249) [universal-darwin11.0]
> 
> zeromq version is 3.1.0-beta
> 
> Thanks,
> 
> Jim

It's entirely possible this is failing because you are using an old MRI. If you need MRI 1.8.7, the most current patch level is p357. The one you are using is at least a year old.

I would recommend upgrading to MRI 1.9.2 or 1.9.3. See here [1] for the plans to drop support for 1.8.7. If you have difficulty downloading and compiling your own ruby, then consider using the rvm tool [2] for a UNIX-based OS or pik if you are on Windows. It makes managing multiple rubies on your system rather simple.

Lastly, I'm not at all certain that the zmq gem is compatible with 3.1.0-beta. Try ffi-rzmq which I know is compatible.

cr

[1] http://www.ruby-lang.org/en/news/2011/10/06/plans-for-1-8-7/

[2] https://rvm.beginrescueend.com/



More information about the zeromq-dev mailing list