From: FUJIMOTO Hisakuni Date: 2002-12-12T11:47:22+09:00 Subject: Re: Problem loading extensions in OSX 10.2.2 At Thu, 12 Dec 2002 09:31:39 +0900, Dave Thomas wrote: > I'm a Mac newbie, so I'm struggling a bit here, but there's a definite > problem loading shared extensions under Mac OSX 10.2.2. > > If I run the following > > ruby -rsocket -e1 > > it blows up doing the rb_define_class in Init_socket(). The problem is > that sym_tbl (in parse.y) is apparently 0x0000000. However, tracing > the value in sym_tbl just before the call to Init_socket shows it to > be perfectly valid. Which version of Ruby have the problem? In Ruby 1.6.7 installed with Mac OSX 10.2.2 at least, the problem couldn't be got. $ ruby -rsocket -e1 $ ruby --version ruby 1.6.7 (2002-03-01) [powerpc-darwin6.0] $ ruby -r rbconfig -e 'p Config::CONFIG["configure_args"]' "--prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info" I have not tried other version which isn't installed on my mac yet. regards, -- FUJIMOTO Hisakuni