On Thu, Feb 5, 2009 at 6:23 AM, Mark T. [email protected]
wrote:
ruby: symbol lookup error:
/var/lib/gems/1.8/gems/wxruby-1.9.8-x86_64-linux/lib/wxruby2.so:
undefined symbol: Init_wxMediaCtrl
The problem isn’t with wxRuby 1.9.8 in that area, it’s with the fact,
that
wxruby2.so, cannot find the Symbol Init_wxMediaCtrl, which is a C/C++
Side
problem.
With debug enabled:
/var/lib/gems/1.8/gems/wxruby-1.9.8-x86_64-linux/samples/minimal$ ruby
-rubygems -debug minimal.rb
Exception LoadError' at /usr/lib/ruby/1.8/rubygems.rb:772 - no such file to load -- rubygems/defaults/operating_system Exception
NameError’ at -e:1 - undefined local variable or method bug' for main:Object -e:1: undefined local variable or method
bug’ for main:Object
(NameError)
The Problem with this, is you used -debug, which is only partly right.
What
you actually need, is ruby -d, cause you threw in there, an eval, which
is
done with the switch -e, but since -d doesn’t require any arguments, it
automatically processed the e as another command switch, which tried to
eval
‘bug’. Hence why there’s an NameError in that.
Any help will be greatly appreciated, thanks,
Mark
Debugging info:
It looks as though you have 2.8.8 installed for wxWidgets for the 2.8
series, as well as the 2.4, and the 2.6 series of wxWidgets. It may
mean
nothing, but I would try removing the 2.4 and 2.6 series libraries for
both
wxbase, and wxgtk, and then force a re-install of the 2.8 series, to see
if
that helps any.
Just a few suggestions.