I ran into this as well installing the 0.5.3 gem on both CentOS and 
Fedora platforms.  To get it working I had to rebuild the .so file 
manually after the gem install:

cd /usr/local/lib/ruby/gems/1.8/gems/libxml-ruby-0.5.3
ruby xml/libxml/extconf.rb
make
make install
make distclean

The make install step copied the libxml_so.so file to the correct 
directory whereas the gem installation didn't for some reason.  Don't 
know what causes this, but it at least worked for me after doing the above.

Christopher J. Bottaro wrote:
> Hello,
> I installed 0.5.3 via Gem, then removed 0.3.8.4.  Now when I try to
> require 'xml/libxml' I get 'no such file to load -- libxml_so'.
>
> That file used to reside here:
> /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/gems/1.8/gems/libxml-ruby-0.3.8.4/lib/xml/libxml_so.bundle
>
> I'm new to OS X.  What is a bundle?  Also, I don't think I can get
> that file back by doing 'gem install libxml-ruby -v 0.3.8.4' because
> it came preinstalled (as a Framework thing?).
>
> The only other places I see *libxml* are here:
> /usr/lib/libxml2.2.dylib
> /usr/lib/libxml2.dylib
> /usr/lib/libxml2.la
>
> Thanks for the help.
> _______________________________________________
> libxml-devel mailing list
> libxml-devel@rubyforge.org
> http://rubyforge.org/mailman/listinfo/libxml-devel
>
>   

_______________________________________________
libxml-devel mailing list
libxml-devel@rubyforge.org
http://rubyforge.org/mailman/listinfo/libxml-devel

Reply via email to