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.
--
-- Don Wilde
"If you are creative and add value to the world, sleep well.
You''ve earned
it."
_______________________________________________
wxruby-users mailing list
wxruby-users@rubyforge.org
http://rubyforge.org/mailman/listinfo/wxruby-users
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:in
`gem_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. :D
--
-- Don Wilde
"If you are creative and add value to the world, sleep well.
You''ve earned
it."
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
<http://rubyforge.org/pipermail/wxruby-users/attachments/20101223/a2631199/attachment.html>