# Fresh install problem

**URL:** <https://www.ruby-forum.com/t/fresh-install-problem/150838>\
**Category:** wxRuby\
**Created:** [October 14, 2008, 2:06am UTC](https://www.ruby-forum.com/t/fresh-install-problem/150838 "2008-10-14T02:06:55Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Svend\_Haugaard\_SSSS](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/c68b51/32.png) [@Svend\_Haugaard\_SSSS](https://www.ruby-forum.com/u/Svend_Haugaard_SSSS)\
**Post date:** [October 14, 2008, 2:06am UTC](https://www.ruby-forum.com/t/fresh-install-problem/150838/1 "2008-10-14T02:06:55Z")

</div>

So my old computer fried a motherboard.  
So after bying, building and installing my new computer.  
I return to wxruby and install it via ‘gem install wxruby’  
and run my old programs. BUT they don’t work.

They return this error.

/usr/lib/ruby/gems/1.8/gems/wxruby-1.9.8-x86-linux/lib/wxruby2.so:  
/usr/lib/gcc/i686-pc-linux-gnu/4.1.2/libstdc++.so.6:  
version `GLIBCXX\_3.4.9’ not found (required  
by /usr/lib/ruby/gems/1.8/gems/wxruby-1.9.8-x86-linux/lib/wxruby2.so)

- /usr/lib/ruby/gems/1.8/gems/wxruby-1.9.8-x86-linux/lib/wxruby2.so  
(LoadError)  
from /usr/lib/ruby/site\_ruby/1.8/rubygems/custom\_require.rb:27:in  
`require' from /usr/lib/ruby/gems/1.8/gems/wxruby-1.9.8-x86-linux/lib/wx.rb:12 from /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:32:in`gem\_original\_require’  
from /usr/lib/ruby/site\_ruby/1.8/rubygems/custom\_require.rb:32:in  
`require’ from dnet.rb:1

Is this something I can fix ?

---

<div class="post-metadata">

**Author:** ![Svend\_Haugaard\_SSSS](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/c68b51/32.png) [@Svend\_Haugaard\_SSSS](https://www.ruby-forum.com/u/Svend_Haugaard_SSSS)\
**Post date:** [October 14, 2008, 2:31am UTC](https://www.ruby-forum.com/t/fresh-install-problem/150838/2 "2008-10-14T02:31:29Z")

</div>

This error means that glibc is of a different version then the one that  
is  
compiled with wxRuby gem. It could be new or it could be older. It all  
depends.

The only way I can think to fix this, is to go through the self-compile  
of  
wxRuby.

See here to self-compile wxRuby:  
[http://wxruby.rubyforge.org/wiki/wiki.pl?InstallingFromSource](http://wxruby.rubyforge.org/wiki/wiki.pl?InstallingFromSource)

If you have any questions about self-compiling, feel free to ask, and I  
or  
someone else will be happy to help.

hth,

Mario

On Mon, Oct 13, 2008 at 8:01 PM, Svend Haugaard SÃ¸rensen  
\<removed\_email\_address@domain.invalid
