# Error when loading wxruby

**URL:** <https://www.ruby-forum.com/t/error-when-loading-wxruby/191990>\
**Category:** wxRuby\
**Created:** [July 22, 2010, 12:34am UTC](https://www.ruby-forum.com/t/error-when-loading-wxruby/191990 "2010-07-22T00:34:31Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![hamstap85](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/h/13edae/32.png) [@hamstap85](https://www.ruby-forum.com/u/hamstap85)\
**Post date:** [July 22, 2010, 12:34am UTC](https://www.ruby-forum.com/t/error-when-loading-wxruby/191990/1 "2010-07-22T00:34:31Z")

</div>

I’ve had plenty of wonderful experience with WxRuby on a PC, but  
whenever I try it on my Ubuntu Linux, I get the same error. I’ve tried  
two different computers, and they do the same thing, so I’m wondering if  
it’s an error within Wx. This is the error I get:

/var/lib/gems/1.9.1/gems/wxruby-ruby19-2.0.0-x86\_64-linux/lib/wx.rb:12:in  
`require’: libwx\_gtk2u\_stc-2.8.so.0: cannot open shared object file: No  
such file or directory -  
/var/lib/gems/1.9.1/gems/wxruby-ruby19-2.0.0-x86\_64-linux/lib/wxruby2.so  
(LoadError)

from  
/var/lib/gems/1.9.1/gems/wxruby-ruby19-2.0.0-x86\_64-linux/lib/wx.rb:12:in  
`\<top (required)\>’

from /home/username/Documents/Projects/Ruby/ProjectName/lib/main.rb:1:in  
`require’

from /home/username/Documents/Projects/Ruby/ProjectName/lib/main.rb:1:in  
`’

I’m using Ubuntu 10.04, NetBeans 6.9, Ruby 1.9.1, RubyGems 1.3.5, and  
everything sees each other just perfectly. No problems with the RubyGems  
platform in NetBeans. However, as you see from the error, WxRuby19 is  
version 2.0.0 instead of 2.0.1, and for whatever reason, when I try to  
install 2.0.1 it jumps back to 2.0.0, and when I try to update, it says  
‘nothing to update’. Should I unpack the 2.0.1 archive manually into the  
rubygems directory, and see if that fixes anything?

- Hameed
