[libxml-devel] require 'xml/libxslt' produces undefined symbol error on ubuntu linux
Trans
transfire at gmail.com
Sun Dec 30 19:25:00 EST 2007
On Dec 30, 2007 6:25 PM, Tec <tecumtah at gmail.com> wrote:
> 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.
For right now you should use the svn repo, and setup manually.
I'll get a new release out after the holidays --promise.
T.
More information about the libxml-devel
mailing list