Bug 136075

Summary: Could not use textproc/ruby-libxml
Product: Ports & Packages Reporter: Taro <taro>
Component: Individual Port(s)Assignee: Pietro Cerutti <gahr>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: Latest   
Hardware: Any   
OS: Any   

Description Taro 2009-06-26 21:20:01 UTC
Could not make use libxml-ruby gem

Got error when required libxml-ruby:
require 'libxml'
LoadError: no such file to load -- libxml
        from /usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `gem_original_require'
        from /usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `require'
        from (irb):25

Package ruby18-libxml-1.1.3 is installed:
pkg_info -Lx ruby18-libxml-1.1.3
Information for ruby18-libxml-1.1.3:

Files:
/usr/local/lib/ruby/site_ruby/1.8/i386-freebsd7/xml/libxml_ruby.so
/usr/local/lib/ruby/site_ruby/1.8/xml/libxml.rb
/usr/local/lib/ruby/site_ruby/1.8/libxml/attr.rb
/usr/local/lib/ruby/site_ruby/1.8/libxml/attr_decl.rb
/usr/local/lib/ruby/site_ruby/1.8/libxml/attributes.rb
/usr/local/lib/ruby/site_ruby/1.8/libxml/document.rb
/usr/local/lib/ruby/site_ruby/1.8/libxml/error.rb
/usr/local/lib/ruby/site_ruby/1.8/libxml/hpricot.rb
/usr/local/lib/ruby/site_ruby/1.8/libxml/html_parser.rb
/usr/local/lib/ruby/site_ruby/1.8/libxml/namespace.rb
/usr/local/lib/ruby/site_ruby/1.8/libxml/namespaces.rb
/usr/local/lib/ruby/site_ruby/1.8/libxml/node.rb
/usr/local/lib/ruby/site_ruby/1.8/libxml/ns.rb
/usr/local/lib/ruby/site_ruby/1.8/libxml/parser.rb
/usr/local/lib/ruby/site_ruby/1.8/libxml/properties.rb
/usr/local/lib/ruby/site_ruby/1.8/libxml/reader.rb
/usr/local/lib/ruby/site_ruby/1.8/libxml/sax_callbacks.rb
/usr/local/lib/ruby/site_ruby/1.8/libxml/sax_parser.rb
/usr/local/lib/ruby/site_ruby/1.8/libxml/tree.rb
/usr/local/lib/ruby/site_ruby/1.8/libxml/xpath_object.rb
/usr/local/libdata/ldconfig/ruby18-libxml

How-To-Repeat: Open irb console,
try to require libxml lib:
require 'libxml'
Comment 1 Mark Linimon freebsd_committer freebsd_triage 2009-06-27 06:34:04 UTC
Responsible Changed
From-To: freebsd-ports-bugs->gahr

Fix synopsis and assign.
Comment 2 Pietro Cerutti freebsd_committer freebsd_triage 2009-07-05 18:52:36 UTC
State Changed
From-To: open->feedback

Does this solve your problems? 

irb(main):001:0> require 'xml/libxml' => true irb(main):002:0> document 
= LibXML::XML::Document.new => <?xml version="1.0" encoding="UTF-8"?>
Comment 3 Taro 2009-07-05 19:18:50 UTC
Problem solved by port updating after it was changed at 2009/06/28.
Thanks
Comment 4 Pietro Cerutti freebsd_committer freebsd_triage 2009-07-05 19:41:09 UTC
State Changed
From-To: feedback->closed

Problem solved by update.