From: Joel VanderWerf Date: 2004-05-14T04:59:19+09:00 Subject: Re: crash using latest ruby-1.9.0 snapshots, FXRuby nobu.nokada@softhome.net wrote: > Hi, > > At Tue, 11 May 2004 14:13:32 +0900, > Joel VanderWerf wrote in [ruby-talk:99815]: > >>$ ruby glviewer.rb >>Loading required GL library /usr/X11R6/lib/libGL.so.1.2 >>/usr/local/lib/ruby/site_ruby/1.9/fox/glshapes.rb:314: [BUG] unknown >>type 0x22 >>ruby 1.9.0 (2004-05-09) [i686-linux] >> >>zsh: abort ruby glviewer.rb >>--- >> >>It was working fine with >>ruby 1.9.0 (2004-03-09) [i686-linux] > > > The slight change on ruby.h at 2004-03-10 is very significant > to extension libraries. Make sure that the shared objects are > recompiled with latest ruby.h. Thanks, Nobu, I think that was it. I had rebuilt FXRuby, and the problem remained, but I forgot to rebuild opengl (rbogl). After rebuilding opengl, everything seems ok. One glitch: extconf.rb in rbogl uses "PLATFORM", rather than "RUBY_PLATFORM". I had to make this replacement to get extconf.rb to run. Extension writers might want to make a note of this change.