Hello everybody,
I am trying to use libxsl-ruby on my ubuntu machine, but I seem to be doing
something wrong.
I installed both libxml-ruby and libxsl-ruby and the example code from the
libxml readme works fine.
Unfortunately the libxsl readme example code (the usage example from
http://libxsl.rubyforge.org/) produces following error:
ruby fuzface.rb
/usr/lib/ruby/gems/1.8/gems/libxslt-ruby-0.3.6/ext/xml/libxslt.so:
/usr/lib/ruby/gems/1.8/gems/libxslt- ruby-0.3.6/ext/xml/libxslt.so:
undefined symbol: ruby_xml_parser_count -
/usr/lib/ruby/gems/1.8/gems/libxslt-ruby-0.3.6/ext/xml/libxslt.so
(LoadError)
from /usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:32:in
`require'
from fuzface.rb:3
Line three of fuzface.rb is
require 'xml/libxslt'
I tried to install using gem and rake, but both produced the same error.
Maybe I am running incompatible versions of the two bindings? gem
automatically chose following versions:
sudo gem install libxml-ruby
Successfully installed libxml-ruby-0.5.2.0
sudo gem install libxslt-ruby
Successfully installed libxslt-ruby-0.3.6
ruby -v
ruby 1.8.6 (2007-06-07 patchlevel 36) [i486-linux]
dpkg -l libxml2
ii libxml2 2.6.30.dfsg-2u GNOME XML library
ii libxml2-dev 2.6.30.dfsg-2u Development files for the GNOME XML
library
dpkg -l libxslt1*
ii libxslt1-dev 1.1.21-2ubuntu XSLT processing library - development kit
ii libxslt1.1 1.1.21-2ubuntu XSLT processing library - runtime library
I appreciate any hints pointing me to my mistakes.
Thanks,
Silvan
_______________________________________________
libxml-devel mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/libxml-devel