[fxruby-users] Execution problem.

Erwan Loisant eloisant at gmail.com
Tue Nov 2 08:49:17 EST 2004


I have a problem with fxruby; note that plain C++ Fox works. I took a
simple example from the tutorial and here is the result:

erwan at bourricot temp $ ruby test.rb
/usr/lib/ruby/site_ruby/1.8/i686-linux/fox.so: undefined symbol:
_ZN2FX8FXStringC1EPKc - /usr/lib/ruby/site_ruby/1.8/i686-linux/fox.so
        from test.rb:1

I read on the archives a similar problem, so I tried the following
command to check if the bindings lib fox.so is linked to fox itself:

erwan at bourricot temp $ ldd /usr/lib/ruby/site_ruby/1.8/i686-linux/fox.so
        linux-gate.so.1 =>  (0xffffe000)
        libruby18.so.1.8 => /usr/lib/libruby18.so.1.8 (0x405b8000)
        libFOX-1.0.so.0 => /usr/local/lib/libFOX-1.0.so.0 (0x40685000)
        libGLU.so.1 => /usr/lib/libGLU.so.1 (0x40911000)
        libGL.so.1 => /usr/lib/opengl/xorg-x11/lib/libGL.so.1 (0x4098d000)
        libX11.so.6 => /usr/X11R6/lib/libX11.so.6 (0x40a07000)
        libXext.so.6 => /usr/X11R6/lib/libXext.so.6 (0x40ad1000)
        libtiff.so.3 => /usr/lib/libtiff.so.3 (0x40ae0000)
        libjpeg.so.62 => /usr/lib/libjpeg.so.62 (0x40b2d000)
        libz.so.1 => /lib/libz.so.1 (0x40b4b000)
        libpng.so.3 => /usr/lib/libpng.so.3 (0x40b5b000)
        libstdc++.so.5 =>
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.4/libstdc++.so.5 (0x40b8d000)
        libpthread.so.0 => /lib/libpthread.so.0 (0x40c56000)
        libdl.so.2 => /lib/libdl.so.2 (0x40ca8000)
        libcrypt.so.1 => /lib/libcrypt.so.1 (0x40cab000)
        libm.so.6 => /lib/libm.so.6 (0x40cd8000)
        libc.so.6 => /lib/libc.so.6 (0x40cfa000)
        libgcc_s.so.1 =>
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.4/libgcc_s.so.1 (0x40e0d000)
        libXxf86vm.so.1 => /usr/X11R6/lib/libXxf86vm.so.1 (0x40e16000)
        /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x80000000)

Erwan Loisant

More information about the fxruby-users mailing list