# Linking gem to wx on Linux

**URL:** <https://www.ruby-forum.com/t/linking-gem-to-wx-on-linux/200836>\
**Category:** wxRuby\
**Created:** [December 23, 2010, 1:46am UTC](https://www.ruby-forum.com/t/linking-gem-to-wx-on-linux/200836 "2010-12-23T01:46:41Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Dobai-Pataky\_BSSSSl](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/d/77aa72/32.png) [@Dobai-Pataky\_BSSSSl](https://www.ruby-forum.com/u/Dobai-Pataky_BSSSSl)\
**Post date:** [December 23, 2010, 1:46am UTC](https://www.ruby-forum.com/t/linking-gem-to-wx-on-linux/200836/1 "2010-12-23T01:46:41Z")

</div>

Hi, Alex and Chauk-Mean -

I see that holidays are happening, so I may have to bull my way through  
this, but here goes.

On some systems, we get

/usr/lib/ruby/gems/1.8/gems/wxruby-2.0.1-x86-linux/lib/wxruby2.so:  
/usr/lib/ruby/gems/1.8/gems/wxruby-2.0.1-x86-linux/lib/wxruby2.so:  
symbol  
\_ZN13wxAuiNotebook14ShowWindowMenuEv, version WXU\_2.8.5 not defined in  
file  
libwx\_gtk2u\_aui-2.8.so.0 with link time reference -  
/usr/lib/ruby/gems/1.8/gems/wxruby-2.0.1-x86-linux/lib/wxruby2.so  
(LoadError)  
from  
/usr/local/lib/site\_ruby/1.8/rubygems/custom\_require.rb:31:in  
`require' from /usr/lib/ruby/gems/1.8/gems/wxruby-2.0.1-x86-linux/lib/wx.rb:12 from /usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:36:in`gem\_original\_require’  
from  
/usr/local/lib/site\_ruby/1.8/rubygems/custom\_require.rb:36:in  
`require’  
from smarttvmark.rb:11

… after installing wxruby from the gem and the libwxbase libraries  
from  
apt-get. I know I solved this on my system after going back and forth  
between gem and source distros, and the procedure works fine on some  
systems, but I’d like to know what works and what I can do that’ll work  
on  
all (Linux) systems.
