Wx on Ubuntu 10.10 doesn't work

Hello

I just installed wx with

   sudo gem install wxruby
   (and later also tried sudo gem install wxruby-ruby19)

Ruby version is 1.9.2.

   ruby -e 'require "wx"'

Gave the folllowing error:

<internal:lib/rubygems/custom_require>:29:in `require': libwx_gtk2u_stc-2.8.so.0: cannot open shared object file: No such file or directory - /usr/local/lib/ruby/gems/1.9.1/gems/wxruby-2.0.1-x86-linux/lib/wxruby2.so (LoadError)
         from <internal:lib/rubygems/custom_require>:29:in `require'
         from /usr/local/lib/ruby/gems/1.9.1/gems/wxruby-2.0.1-x86-linux/lib/wx.rb:12:in `<top (required)>'
         from <internal:lib/rubygems/custom_require>:33:in `require'
         from <internal:lib/rubygems/custom_require>:33:in `rescue in require'
         from <internal:lib/rubygems/custom_require>:29:in `require'
         from -e:1:in `<main>'

Then I did:

   sudo ln -s /usr/lib/libwx_gtk2u_stc-2.8.so.0 /usr/local/lib/ruby/1.9.1/i686-linux/libwx_gtk2u_stc-2.8.so.0

Now it complains in the same way as before about a missing libwx_gtk2u_media-2.8.so.0 file. There is a /usr/lib/libwx_gtk2u_media-2.6.so.0 but not for 2.8.

Any idea?

Thanks in advance, R.

I already had a lot of fun with this. Have a look at this thread:

But if you solved that, you'll run into a couple of other problems. At
the moment it's quite a challenge to get wxRuby up and running on Ubuntu
Maverick (one of the reasons why I switched to Arch Linux). If you want
to know more, have a look at Compiling wxWidgets/wxRuby on Ubuntu 10.10 Maverick - wxRuby - Ruby-Forum and
Mario Steele's reply thread at Regards to Building of wxRuby 2.0.1 - wxRuby - Ruby-Forum .

Additionally I suggest to post wxRuby questions over at the wxRuby
forum: wxRuby - Ruby-Forum .

Vale,
Marvin

···

Am 08.12.2010 23:06, schrieb Rüdiger Brahns:

Now it complains in the same way as before about a missing
libwx_gtk2u_media-2.8.so.0 file. There is a
/usr/lib/libwx_gtk2u_media-2.6.so.0 but not for 2.8.

Any idea?

Thanks in advance, R.