I’ve added ‘-lgcc’ to FXRuby’s Makefile, but when I am trying to run any
FXRuby app, I have:
…/testfox.rb:3:in `require’: /usr/local/lib/site_ruby/1.6/i386-linux/fox.so:
undefined symbol: _ZN5FXApp9metaClassE -
/usr/local/lib/site_ruby/1.6/i386-linux/fox.so (LoadError)
from ./testfox.rb:3
···
–
Szymon Drejewicz
Szymon Drejewicz wrote:
I’ve added ‘-lgcc’ to FXRuby’s Makefile, but when I am trying to run any
FXRuby app, I have:
./testfox.rb:3:in `require’: /usr/local/lib/site_ruby/1.6/i386-linux/fox.so:
undefined symbol: _ZN5FXApp9metaClassE -
/usr/local/lib/site_ruby/1.6/i386-linux/fox.so (LoadError)
from ./testfox.rb:3
I suspect that the FOX library (libFOX.so) is not in the search path for
your dynamically loaded libraries. Please see the comments under the
heading “Cannot load library” on this page:
http://www.fxruby.org/doc/build.html
for more information.
Hope this helps,
Lyle