# Problems with RubyGems

**URL:** <https://www.ruby-forum.com/t/problems-with-rubygems/150138>\
**Category:** Ruby\
**Created:** [October 4, 2008, 1:47pm UTC](https://www.ruby-forum.com/t/problems-with-rubygems/150138 "2008-10-04T13:47:43Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![forsakensoul](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/f/41988e/32.png) [@forsakensoul](https://www.ruby-forum.com/u/forsakensoul)\
**Post date:** [October 4, 2008, 1:47pm UTC](https://www.ruby-forum.com/t/problems-with-rubygems/150138/1 "2008-10-04T13:47:43Z")

</div>

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](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?

---

<div class="post-metadata">

**Author:** ![forsakensoul](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/f/41988e/32.png) [@forsakensoul](https://www.ruby-forum.com/u/forsakensoul)\
**Post date:** [October 4, 2008, 7:24pm UTC](https://www.ruby-forum.com/t/problems-with-rubygems/150138/2 "2008-10-04T19:24:13Z")

</div>

Ilian Mitev wrote:

> 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?

---

<div class="post-metadata">

**Author:** ![forsakensoul](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/f/41988e/32.png) [@forsakensoul](https://www.ruby-forum.com/u/forsakensoul)\
**Post date:** [October 9, 2008, 8:53pm UTC](https://www.ruby-forum.com/t/problems-with-rubygems/150138/3 "2008-10-09T20:53:49Z")

</div>

Eric H. wrote:

> On Oct 4, 2008, at 04:46 AM, Ilian Mitev wrote:
> 
> > 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.

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]

> gem install -p [http://www.proxy.boeing.com](http://www.proxy.boeing.com):XXXXX net-ssh

/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?

---

<div class="post-metadata">

**Author:** ![forsakensoul](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/f/41988e/32.png) [@forsakensoul](https://www.ruby-forum.com/u/forsakensoul)\
**Post date:** [October 6, 2008, 11:14pm UTC](https://www.ruby-forum.com/t/problems-with-rubygems/150138/4 "2008-10-06T23:14:25Z")

</div>

On Oct 4, 2008, at 04:46 AM, Ilian Mitev wrote:

> 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.
