Skip to content

Update README to tell about zmq installation as the requirementΒ #348

@dpetruha

Description

@dpetruha

Hello!
I tried to install iruby to my local env (running MacOS) and was getting the error below.
As appeared I had to install zmq first before installing iruby.
Update README document to include zmq installation in Requirements section.

gem install iruby
Building native extensions. This could take a while...
ERROR:  Error installing iruby:
	ERROR: Failed to build gem native extension.

    current directory: /Users/dpetruha/.gem/ruby/3.1.2/gems/iruby-0.8.0/ext
/Users/dpetruha/.rubies/ruby-3.1.2/bin/ruby -rrubygems /Users/dpetruha/.gem/ruby/3.1.2/gems/rake-13.2.1/exe/rake RUBYARCHDIR\=/Users/dpetruha/.gem/ruby/3.1.2/extensions/arm64-darwin-21/3.1.0/iruby-0.8.0 RUBYLIBDIR\=/Users/dpetruha/.gem/ruby/3.1.2/extensions/arm64-darwin-21/3.1.0/iruby-0.8.0
Unable to load this gem. The libzmq library (or DLL) could not be found.
If this is a Windows platform, make sure libzmq.dll is on the PATH.
If the DLL was built with mingw, make sure the other two dependent DLLs,
libgcc_s_sjlj-1.dll and libstdc++6.dll, are also on the PATH.
For non-Windows platforms, make sure libzmq is located in this search path:
["/Users/dpetruha/.gem/ruby/3.1.2/gems/ffi-rzmq-core-1.0.7/lib/ffi-rzmq-core/../../ext/libzmq.dylib", "/usr/local/opt/mysql-client/bin/libzmq.dylib", "/Users/dpetruha/.gem/ruby/3.1.2/bin/libzmq.dylib", "/Users/dpetruha/.rubies/ruby-3.1.2/lib/ruby/gems/3.1.0/bin/libzmq.dylib", "/Users/dpetruha/.rubies/ruby-3.1.2/bin/libzmq.dylib", "/Applications/IntelliJ IDEA 2024.2 EAP.app/Contents/MacOS/libzmq.dylib", "/usr/local/opt/mysql-client/bin/libzmq.dylib", "/opt/homebrew/anaconda3/bin/libzmq.dylib", "/opt/homebrew/anaconda3/condabin/libzmq.dylib", "/usr/local/opt/mysql-client/bin/libzmq.dylib", "/Users/dpetruha/.nvm/versions/node/v20.15.0/bin/libzmq.dylib", "/opt/homebrew/bin/libzmq.dylib", "/opt/homebrew/sbin/libzmq.dylib", "/usr/local/bin/libzmq.dylib", "/System/Cryptexes/App/usr/bin/libzmq.dylib", "/usr/bin/libzmq.dylib", "/bin/libzmq.dylib", "/usr/sbin/libzmq.dylib", "/sbin/libzmq.dylib", "/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/local/bin/libzmq.dylib", "/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/bin/libzmq.dylib", "/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/appleinternal/bin/libzmq.dylib", "/Library/Apple/usr/bin/libzmq.dylib", "/Applications/iTerm.app/Contents/Resources/utilities/libzmq.dylib", "/Users/dpetruha/.rubies/ruby-3.1.2/lib/libzmq.dylib", "/usr/local/lib/libzmq.dylib", "/opt/local/lib/libzmq.dylib", "/opt/homebrew/lib/libzmq.dylib", "/usr/lib64/libzmq.dylib"]
rake aborted!
Failed to install ZeroMQ

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions