Problems with RubyGems

I

Ilian Mitev

Hey,

I've just bought a new asus eee pc 901 and I'm running linux on it. I'm
still on the default linux which is a modified xandros linux. I compiled
ruby and rubygems using the tutorial from:
http://blog.fiveruns.com/2008/3/3/compiling-ruby-rubygems-and-rails-on-ubuntu

The only difference that I installed gems 1.3.0. The problem is I can't
do anything with the gems. They are installed properly, I think, because
I get a result out of gem -v and gem list ... but when I try to install
or update ... well then it gets nasty:

/usr/local/lib/ruby/1.8/i686-linux/digest/md5.so:
/usr/local/lib/ruby/1.8/i686-linux/digest/md5.so: undefined symbol:
rb_Digest_MD5_Init - /usr/local/lib/ruby/1.8/i686-linux/digest/md5.so
(LoadError)
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/digest/md5.rb:8
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:12
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/format.rb:9
... 14 levels...
from
/usr/local/lib/ruby/site_ruby/1.8/rubygems/command_manager.rb:104:in
`process_args'
from
/usr/local/lib/ruby/site_ruby/1.8/rubygems/command_manager.rb:75:in
`run'
from
/usr/local/lib/ruby/site_ruby/1.8/rubygems/gem_runner.rb:39:in `run'
from /usr/local/bin/gem:24


Does anybody know how to fix this?
 
J

Joel VanderWerf

Ilian said:
Hey,

I've just bought a new asus eee pc 901 and I'm running linux on it. I'm

Same here... 901 with the default xandros. Ruby (1.8.6-p287) built from
source, gem 1.1.1, and gems (including native code) seem to work... so
maybe downgrade?
 
E

Eric Hodel

I've just bought a new asus eee pc 901 and I'm running linux on it.
I'm
still on the default linux which is a modified xandros linux. I
compiled
ruby and rubygems using the tutorial from:
http://blog.fiveruns.com/2008/3/3/compiling-ruby-rubygems-and-rails-on-ubuntu

The only difference that I installed gems 1.3.0. The problem is I
can't
do anything with the gems. They are installed properly, I think,
because
I get a result out of gem -v and gem list ... but when I try to
install
or update ... well then it gets nasty:

/usr/local/lib/ruby/1.8/i686-linux/digest/md5.so:
/usr/local/lib/ruby/1.8/i686-linux/digest/md5.so: undefined symbol:
rb_Digest_MD5_Init - /usr/local/lib/ruby/1.8/i686-linux/digest/md5.so
(LoadError)

Sounds like digest/md5 was built incorrectly. I'm not sure why that
would be.
 
S

Steve Dame

Eric said:
Sounds like digest/md5 was built incorrectly. I'm not sure why that
would be.

Hi Eric, we're having a similar problem here at Boeing/Seattle on an IBM
VM running SuSE SLES10 SP2 s390x.

ruby 1.8.7 (2008-08-11 patchlevel 72) [s390x-linux]

/usr/local/lib/ruby/1.8/s390x-linux/digest/md5.so:
/usr/local/lib/ruby/1.8/s390x-linux/digest/md5.so: undefined symbol:
rb_Digest_MD5_Init - /usr/local/lib/ruby/1.8/s390x-linux/digest/md5.so
(LoadError)

Is there a way to rebuilt 1.8.7 to include the correct version of md5?
Or should we just downgrade?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,962
Messages
2,570,134
Members
46,692
Latest member
JenniferTi

Latest Threads

Top