Some help?

8 views
Skip to first unread message

Kristan Uccello

unread,
Sep 11, 2009, 10:07:46 AM9/11/09
to tor...@googlegroups.com
Hi all,

I'm stumped on this ruby issue with libxml - [OS X - 10.6.1 - macbook]
when I try to require libxml here is what happens.

/usr/local/lib/ruby/gems/1.9.1/gems/libxml-ruby-1.1.3/lib/libxml.rb:
9:in `require': dlopen(/usr/local/lib/ruby/gems/1.9.1/gems/libxml-
ruby-1.1.3/lib/libxml_ruby.bundle, 9): Symbol not found: _xmlAddChild
(LoadError)
Referenced from: /usr/local/lib/ruby/gems/1.9.1/gems/libxml-
ruby-1.1.3/lib/libxml_ruby.bundle
Expected in: flat namespace
in /usr/local/lib/ruby/gems/1.9.1/gems/libxml-ruby-1.1.3/lib/
libxml_ruby.bundle - /usr/local/lib/ruby/gems/1.9.1/gems/libxml-
ruby-1.1.3/lib/libxml_ruby.bundle
from /usr/local/lib/ruby/gems/1.9.1/gems/libxml-ruby-1.1.3/lib/
libxml.rb:9:in `<top (required)>'
from -e:1:in `require'
from -e:1:in `<main>'


Has anyone had this issue? Does anyone know how to resolve it? I have
tried rebuilding ruby, libxml2 has been reinstalled etc. I even found
this (http://blade.nagaokaut.ac.jp/cgi-bin/scat.rb/ruby/ruby-talk/
344658) but it did not really help at all. I'm stumped and hope
someone out there can assist me on this.

- Krispy

Joshua Wehner

unread,
Sep 12, 2009, 8:33:06 AM9/12/09
to TorRor
Not sure if this is helpful... I ran into some (32 bit library vs 64
bit binary) architecture issues on 10.6.0, but the errors I was
getting with libxml were quite different. Then again, I wasn't doing
anything like requiring libxml explicitly.

Kristan Uccello

unread,
Sep 12, 2009, 9:40:53 AM9/12/09
to tor...@googlegroups.com
Thanks for the feedback.
The problem was libxml-ruby - which you need to be very careful when
removing as it toasted my libxml2.2.dylib and crashed my osx install -
had to recover a backup to fix.

I did a fresh snow leopard install and it appears to be working now. I
guess it was something with the upgrade process.

- Krispy
Reply all
Reply to author
Forward
0 new messages