Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

LoadError - undefined symbol: ZOOKEEPER_WRITE on CentOS/RHEL #35

Open
a2045z opened this issue Feb 18, 2013 · 1 comment
Open

LoadError - undefined symbol: ZOOKEEPER_WRITE on CentOS/RHEL #35

a2045z opened this issue Feb 18, 2013 · 1 comment

Comments

@a2045z
Copy link

a2045z commented Feb 18, 2013

I encountered this issue after:

  1. logged in as root
  2. install rvm
  3. install ruby 1.9.3-p374 thru rvm
  4. gem install --no-rdoc --no-ri zookeeper
  5. launch irb session:

require 'zookeeper'
LoadError: /usr/local/rvm/gems/ruby-1.9.3-p374/gems/zookeeper-1.4.2/ext/zookeeper_c.so: undefined symbol: ZOOKEEPER_WRITE - /usr/local/rvm/gems/ruby-1.9.3-p374/gems/zookeeper-1.4.2/ext/zookeeper_c.so
from /usr/local/rvm/rubies/ruby-1.9.3-p374/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:36:in require' from /usr/local/rvm/rubies/ruby-1.9.3-p374/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:36:inrequire'
from /usr/local/rvm/gems/ruby-1.9.3-p374/gems/zookeeper-1.4.2/lib/zookeeper.rb:26:in block in require_root' from /usr/local/rvm/gems/ruby-1.9.3-p374/gems/zookeeper-1.4.2/lib/zookeeper.rb:25:ineach'
from /usr/local/rvm/gems/ruby-1.9.3-p374/gems/zookeeper-1.4.2/lib/zookeeper.rb:25:in require_root' from /usr/local/rvm/gems/ruby-1.9.3-p374/gems/zookeeper-1.4.2/ext/c_zookeeper.rb:8:in<top (required)>'
from /usr/local/rvm/rubies/ruby-1.9.3-p374/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:36:in require' from /usr/local/rvm/rubies/ruby-1.9.3-p374/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:36:inrequire'
from /usr/local/rvm/gems/ruby-1.9.3-p374/gems/zookeeper-1.4.2/lib/zookeeper.rb:26:in block in require_root' from /usr/local/rvm/gems/ruby-1.9.3-p374/gems/zookeeper-1.4.2/lib/zookeeper.rb:25:ineach'
from /usr/local/rvm/gems/ruby-1.9.3-p374/gems/zookeeper-1.4.2/lib/zookeeper.rb:25:in require_root' from /usr/local/rvm/gems/ruby-1.9.3-p374/gems/zookeeper-1.4.2/ext/zookeeper_base.rb:3:in<top (required)>'
from /usr/local/rvm/rubies/ruby-1.9.3-p374/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:36:in require' from /usr/local/rvm/rubies/ruby-1.9.3-p374/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:36:inrequire'
from /usr/local/rvm/gems/ruby-1.9.3-p374/gems/zookeeper-1.4.2/lib/zookeeper.rb:26:in block in require_root' from /usr/local/rvm/gems/ruby-1.9.3-p374/gems/zookeeper-1.4.2/lib/zookeeper.rb:25:ineach'
from /usr/local/rvm/gems/ruby-1.9.3-p374/gems/zookeeper-1.4.2/lib/zookeeper.rb:25:in require_root' from /usr/local/rvm/gems/ruby-1.9.3-p374/gems/zookeeper-1.4.2/lib/zookeeper/client.rb:8:in<top (required)>'
from /usr/local/rvm/rubies/ruby-1.9.3-p374/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:36:in require' from /usr/local/rvm/rubies/ruby-1.9.3-p374/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:36:inrequire'
from /usr/local/rvm/gems/ruby-1.9.3-p374/gems/zookeeper-1.4.2/lib/zookeeper.rb:18:in block in require_lib' from /usr/local/rvm/gems/ruby-1.9.3-p374/gems/zookeeper-1.4.2/lib/zookeeper.rb:17:ineach'
from /usr/local/rvm/gems/ruby-1.9.3-p374/gems/zookeeper-1.4.2/lib/zookeeper.rb:17:in require_lib' from /usr/local/rvm/gems/ruby-1.9.3-p374/gems/zookeeper-1.4.2/lib/zookeeper.rb:50:in<top (required)>'
from /usr/local/rvm/rubies/ruby-1.9.3-p374/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:60:in require' from /usr/local/rvm/rubies/ruby-1.9.3-p374/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:60:inrescue in require'
from /usr/local/rvm/rubies/ruby-1.9.3-p374/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:35:in require' from (irb):1 from /usr/local/rvm/rubies/ruby-1.9.3-p374/bin/irb:16:in

'>>

@slyphon
Copy link
Contributor

slyphon commented Feb 19, 2013

Um, I have no idea. What version of centos?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants