Re: linking gem to wx on Linux

By compiling wxWidgets from source, enabling the shared library option
and
using 2.8.11 wxGTK as follows:

…/configure --enable-shared --with-gtk --enable-monolithic
–enable-unicode --disable-debug --enable-catch_segvs
–enable-graphics_ctx

–enable-mediactrl --with-opengl --with-libjpeg=builtin
–with-libpng=builtin
–with-libtiff=builtin --with-zlib=builtin --with-expat=builtin
–enable-gui
–enable-xrc --enable-mdi --enable-gif
–enable-pcx --enable-iff --enable-pnm --enable-xpm

I now get this error on my own machine (Ubuntu 9,10) which was working:

/usr/local/lib/ruby/site_ruby/1.8/i686-linux/wxruby2.so:
/usr/local/lib/ruby/site_ruby/1.8/i686-linux/wxruby2.so: undefined
symbol:
_ZN8wxWindow12ApplyToolTipEP12_GtkTooltipsPKc -
/usr/local/lib/ruby/site_ruby/1.8/i686-linux/wxruby2.so (LoadError)
from
/usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in
require' from /usr/local/lib/ruby/site_ruby/1.8/wx.rb:12 from /usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:ingem_original_require’
from
/usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in
`require’
from ./smarttvmark.rb:11

I know I had it working, so I’ll keep pushing forward. :smiley: