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