Forum: wxRuby linking gem to wx on Linux

04d1dcca8d15e7640920df71d50ee23c?d=identicon&s=25 Don Wilde (Guest)
on 2010-12-23 01:46
(Received via mailing list)
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.
This topic is locked and can not be replied to.