From: Aaron Kulbe Date: 2006-12-17T16:35:59+09:00 Subject: Re: rubygem setup.rb failing On 12/16/06, Michael Satterwhite wrote: > I'm having to setup multiple machines, and I've got a new problem (at > least each time my problem is new ... I'm not repeating the old ones) > > I've compiled ruby and installed it - I've put it into /usr/local/bin, > if that's a problem, I can redo it to whereever. Note that I didn't see > any errors in the ruby compile / install > > Next was an attempt to install rubygems. I ran > ruby setup.rb > > from the directory with rubygems. It starts out OK, then I get > ------------------------- > /usr/local/lib/ruby/1.8/i686-linux/syck.so: > /usr/local/lib/ruby/1.8/i686-linux/syck.so: undefined symbol: > __stack_chk_fail_local - /usr/local/lib/ruby/1.8/i686-linux/syck.so > (LoadError) > from > /usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in > `require' > from /usr/local/lib/ruby/1.8/yaml/syck.rb:5 > from > /usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in > `gem_original_require' > from > /usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in > `require' > from /usr/local/lib/ruby/1.8/yaml.rb:11 > from > /usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in > `gem_original_require' > from > /usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in > `require' > from /usr/local/lib/ruby/site_ruby/1.8/rubygems/package.rb:6 > ... 11 levels... > from setup.rb:887:in `exec_install' > from setup.rb:705:in `invoke' > from setup.rb:674:in `invoke' > from setup.rb:1352 > ------------------------------------------ > > Either I'm missing something - or my ruby install wasn't as clean as it > looked. I looked at the source, and I thought that all I needed to do > was install the yaml and syck files onto the machine (I'm running > kubuntu) - but that didn't seem to do any good. > > Would someone be so kind as to help here. > > Thanks in advance > ---Michael > > -- > Posted via http://www.ruby-forum.com/. > > http://www.linuxlooney.com/past/2006/8/15/installing_ruby_and_rails_on/ I wrote this up, based on my experience. I hope it helps. Cheers, Aaron Kulbe