[wxruby-users] wxRuby 1.9.9 apps don't work (gNewSense 2.1)
Alex Fenton
alex at pressure.to
Tue Dec 16 09:06:37 EST 2008
Hi
Luis Felipe Lopez Acevedo wrote:
> I installed wxRuby through rubygems but I can't use it. When I try the
> sample apps I get the following error:
>
> fla at nutabe:~/biblioteca/programación/ruby/wxruby_doc/samples/minimal$
> ruby minimal.rb
> /var/lib/gems/1.8/gems/wxruby-1.9.9-x86-linux/lib/wxruby2.so:
> libGL.so.1: cannot open shared object file: No such file or directory
> - /var/lib/gems/1.8/gems/wxruby-1.9.9-x86-linux/lib/wxruby2.so (LoadError)
> from /usr/lib/ruby/1.8/rubygems/custom_require.rb:32:in `require'
> from /var/lib/gems/1.8/gems/wxruby-1.9.9-x86-linux/lib/wx.rb:12
> from /usr/lib/ruby/1.8/rubygems/custom_require.rb:32:in
> `gem_original_require'
> from /usr/lib/ruby/1.8/rubygems/custom_require.rb:32:in `require'
> from minimal.rb:8
>
> This is the software I'm using:
>
> gNewSense 2.1
> wxRuby 1.9.9-x86
> Ruby 1.8.6
It looks like you need some additional libraries that wRuby depends on.
Since Linux systems vary so widely, it's sometimes necessary to install
some additional dependencies to get wxRuby to work.
The missing library is libGL.so and I think on Debian-type systems you
need to install a package called something like "libgl1-mesa" to get
this. Searching for "mesa" should turn it up.
hth
alex
More information about the wxruby-users
mailing list