From: Markus Fischer Date: 2010-09-25T22:27:33+09:00 Subject: self-compiling wxruby also worked (was: Re: Getting GUI for ruby for Linux running (QT or wxWidget)?) On 20.09.2010 01:14, Markus Fischer wrote: > No idea how something like this can happen, so I stopped here. I thought > maybe Ubuntu 10.10 is too new (it's still beta after all) so I installed > 10.04 and I could compile swig 1.3.38 there but failed at compiling > wxwidgets right before the final linking stage (I was almost there!): > > /usr/bin/ld: cannot find -lgtk-x11-2.0 I finally was able to figure out that one too: I was missing the libgtk2.0-dev package and dependencies. Now it's crystal clear I need those -dev packages but what was puzzling is that it seemed the whole compilation process worked but only during the final linking stage it didn't. And since there was (!) a similar file named /usr/lib/libgtk-x11-2.0.so.0.2000.1 . It was necessary for me to compile my own wxruby because the one installable from gem didn't include opengl for some reason. Maybe it's the difference in version number, wxruby 2.0.0 vs. 2.0.1: wxruby-ruby19 (2.0.1 x86-darwin-9 x86-linux x86-mingw32, 2.0.0 x86_64-linux) - Markus