From: Kevin Smith Date: 2003-08-26T00:37:18+09:00 Subject: Re: [Wxruby-users] RE: ANN: wxRuby 0.1.0 Alpha has been released! > Markus Jais wrote: > > > _______________________________________________ > > > wxruby-users mailing list > > > wxruby-users@rubyforge.org > > > http://rubyforge.org/mailman/listinfo/wxruby-users > > > > great! > > > > but I have a problem compiling it. > > > > c++ -shared `wx-config --libs` -Wl,--version-script,./version-script > > -L"/usr/local/lib" -o wxruby.so wx.o app.o bitmap.o button.o calendar.o (snip) > > > > I /usr/i486-suse-linux/bin/ld: wxruby.so: undefined versioned symbol name > > wxBitmapButtonBase::OnSetBitmap(void)@@WXGTK2_2.4 > > /usr/i486-suse-linux/bin/ld: failed to set dynamic section sizes: > > Bad value > > collect2: ld returned 1 exit status > > > > > > I have wxwindows 2.4.1 with GTk2 and Ruby 1.8.0 I'm using wxwindows 2.4.0 with GTK2 and Ruby 1.8.0. My best guess is that wxRuby was compiled with a different version of the C++ toolchain than your wxWindows library. Unfortunately, C++ binaries have traditionally been incompatible between versions of g++. So you may need to compile wxWindows from source on your box, or you may need to compile wxRuby with the same compiler that was used for your copy of wxWindows (by manually modifying Makefile, I suppose). In my case, I use g++ 3.3 because that is the Debian Sarge default. We need to add this to the README and/or a FAQ. Thanks, Kevin