# ROR on solaris 10 gem installation error

**URL:** <https://www.ruby-forum.com/t/ror-on-solaris-10-gem-installation-error/56619>\
**Category:** Rails\
**Created:** [April 1, 2006, 9:02pm UTC](https://www.ruby-forum.com/t/ror-on-solaris-10-gem-installation-error/56619 "2006-04-01T21:02:23Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![agrapha](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/a/58f4c7/32.png) [@agrapha](https://www.ruby-forum.com/u/agrapha)\
**Post date:** [April 1, 2006, 9:02pm UTC](https://www.ruby-forum.com/t/ror-on-solaris-10-gem-installation-error/56619/1 "2006-04-01T21:02:23Z")

</div>

On my Sun Enterprise 450,  
I installed ruby-1.8.4 from [sunfreeware.com](http://sunfreeware.com). That installed like a  
dream.  
I then downloaded rubygems-0.8.11. Untarred into /usr/local/src and  
tried to do a /usr/local/bin/ruby install.rb  
this is what followed and can someone help me figure out what to do?

bash-3.00# /usr/local/bin/ruby setup.rb  
—\> bin  
\<— bin  
—\> lib  
—\> lib/rubygems  
\<— lib/rubygems  
\<— lib  
—\> bin  
adjusting shebang: gem\_mirror  
\<— bin  
—\> lib  
—\> lib/rubygems  
\<— lib/rubygems  
\<— lib  
rm -f InstalledFiles  
—\> bin  
mkdir -p /usr/local/bin/  
install gemwhich /usr/local/bin/  
install gem /usr/local/bin/  
install gem\_server /usr/local/bin/  
install generate\_yaml\_index.rb /usr/local/bin/  
install update\_rubygems /usr/local/bin/  
install gem\_mirror /usr/local/bin/  
\<— bin  
—\> lib  
mkdir -p /usr/local/lib/ruby/site\_ruby/1.8/  
install ubygems.rb /usr/local/lib/ruby/site\_ruby/1.8/  
install rubygems.rb /usr/local/lib/ruby/site\_ruby/1.8/  
install gemconfigure.rb /usr/local/lib/ruby/site\_ruby/1.8/  
—\> lib/rubygems  
mkdir -p /usr/local/lib/ruby/site\_ruby/1.8/rubygems  
install specification.rb /usr/local/lib/ruby/site\_ruby/1.8/rubygems  
install builder.rb /usr/local/lib/ruby/site\_ruby/1.8/rubygems  
install command.rb /usr/local/lib/ruby/site\_ruby/1.8/rubygems  
install config\_file.rb /usr/local/lib/ruby/site\_ruby/1.8/rubygems  
install custom\_require.rb /usr/local/lib/ruby/site\_ruby/1.8/rubygems  
install doc\_manager.rb /usr/local/lib/ruby/site\_ruby/1.8/rubygems  
install format.rb /usr/local/lib/ruby/site\_ruby/1.8/rubygems  
install cmd\_manager.rb /usr/local/lib/ruby/site\_ruby/1.8/rubygems  
install gem\_runner.rb /usr/local/lib/ruby/site\_ruby/1.8/rubygems  
install installer.rb /usr/local/lib/ruby/site\_ruby/1.8/rubygems  
install loadpath\_manager.rb /usr/local/lib/ruby/site\_ruby/1.8/rubygems  
install old\_format.rb /usr/local/lib/ruby/site\_ruby/1.8/rubygems  
install open-uri.rb /usr/local/lib/ruby/site\_ruby/1.8/rubygems  
install package.rb /usr/local/lib/ruby/site\_ruby/1.8/rubygems  
install remote\_installer.rb /usr/local/lib/ruby/site\_ruby/1.8/rubygems  
install rubygems\_version.rb /usr/local/lib/ruby/site\_ruby/1.8/rubygems  
install source\_index.rb /usr/local/lib/ruby/site\_ruby/1.8/rubygems  
install deployment.rb /usr/local/lib/ruby/site\_ruby/1.8/rubygems  
install timer.rb /usr/local/lib/ruby/site\_ruby/1.8/rubygems  
install user\_interaction.rb /usr/local/lib/ruby/site\_ruby/1.8/rubygems  
install validator.rb /usr/local/lib/ruby/site\_ruby/1.8/rubygems  
install version.rb /usr/local/lib/ruby/site\_ruby/1.8/rubygems  
install gem\_commands.rb /usr/local/lib/ruby/site\_ruby/1.8/rubygems  
install dependency\_list.rb /usr/local/lib/ruby/site\_ruby/1.8/rubygems  
install security.rb /usr/local/lib/ruby/site\_ruby/1.8/rubygems  
install gem\_openssl.rb /usr/local/lib/ruby/site\_ruby/1.8/rubygems  
\<— lib/rubygems  
\<— lib

As of RubyGems 0.8.0, library stubs are no longer needed.  
Searching $LOAD\_PATH for stubs to optionally delete (may take a  
while)…  
…done.  
No library stubs found.

/usr/local/lib/ruby/1.8/sparc-solaris2.10/digest/md5.so: ld.so.1:  
/usr/local/bin/ruby: f atal: libcrypto.so.0.9.8: open failed: No such  
file or directory - /usr/local/lib/ruby/1  
.8/sparc-solaris2.10/digest/md5.so (LoadError)  
from  
/usr/local/lib/ruby/site\_ruby/1.8/rubygems/custom\_require.rb:21:in  
`require ' from /usr/local/lib/ruby/site_ruby/1.8/rubygems/package.rb:10 from /usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:21:in `require ’  
from /usr/local/lib/ruby/site\_ruby/1.8/rubygems/builder.rb:1  
from  
/usr/local/lib/ruby/site\_ruby/1.8/rubygems/custom\_require.rb:21:in  
`require ' from /usr/local/lib/ruby/site_ruby/1.8/rubygems.rb:61:in `manage\_gems’  
from /usr/local/src/rubygems-0.8.11/./post-install.rb:64:in  
`install_sources' from /usr/local/src/rubygems-0.8.11/./post-install.rb:75:in `try\_run\_hook’  
from setup.rb:577:in `run_hook' from setup.rb:1315:in `exec\_task\_traverse’  
from setup.rb:1168:in `exec_install' from setup.rb:887:in `exec\_install’  
from setup.rb:705:in `invoke' from setup.rb:674:in `invoke’  
from setup.rb:1352  
bash-3.00#

---

<div class="post-metadata">

**Author:** ![agrapha](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/a/58f4c7/32.png) [@agrapha](https://www.ruby-forum.com/u/agrapha)\
**Post date:** [April 25, 2007, 1:04am UTC](https://www.ruby-forum.com/t/ror-on-solaris-10-gem-installation-error/56619/2 "2007-04-25T01:04:42Z")

</div>

Ba Du wrote:

> On my Sun Enterprise 450,  
> I installed ruby-1.8.4 from [sunfreeware.com](http://sunfreeware.com). That installed like a  
> dream.  
> I then downloaded rubygems-0.8.11. Untarred into /usr/local/src and  
> tried to do a /usr/local/bin/ruby install.rb  
> this is what followed and can someone help me figure out what to do?
> 
> bash-3.00# /usr/local/bin/ruby setup.rb

> /usr/local/lib/ruby/1.8/sparc-solaris2.10/digest/md5.so: ld.so.1:  
> /usr/local/bin/ruby: f atal: libcrypto.so.0.9.8: open failed: No such  
> file or directory - /usr/local/lib/ruby/1  
> .8/sparc-solaris2.10/digest/md5.so (LoadError)  
> from

* * *

I have the exact same issue - could you please copy me when a solution  
is presented? As far as I can tell, this has something to do with an  
incompatible version of openssl installed. Thank you. -Mark

---

<div class="post-metadata">

**Author:** ![agrapha](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/a/58f4c7/32.png) [@agrapha](https://www.ruby-forum.com/u/agrapha)\
**Post date:** [April 25, 2007, 8:05am UTC](https://www.ruby-forum.com/t/ror-on-solaris-10-gem-installation-error/56619/3 "2007-04-25T08:05:39Z")

</div>

Why not use the CoolStack version of Ruby? It’s there on [sunfreeware.com](http://sunfreeware.com)  
and is easy to install. I’ve been using it since the day it was  
available without any problems.

```
ftp://ftp.sunfreeware.com/pub/freeware/CSK/

```

n

---

<div class="post-metadata">

**Author:** ![agrapha](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/a/58f4c7/32.png) [@agrapha](https://www.ruby-forum.com/u/agrapha)\
**Post date:** [April 25, 2007, 6:28pm UTC](https://www.ruby-forum.com/t/ror-on-solaris-10-gem-installation-error/56619/4 "2007-04-25T18:28:16Z")

</div>

Berger, Daniel wrote:

> > > > 
> > > 
> > > I have the exact same issue - could you please copy me when  
> > > a solution  
> > > is presented? As far as I can tell, this has something to do with an  
> > > incompatible version of openssl installed. Thank you. -Mark
> 
> Personally, I recommend [blastwave.org](http://blastwave.org) over [sunfreeware.com](http://sunfreeware.com) for Solaris  
> packages, especially if you’re using the Sun Studio compiler. They have  
> more Ruby packages afaik, and they tend to be more up to date.
> 
> Regards,
> 
> Dan

* * *

Which packages for ruby/rubygems should I be using for Solaris 9 (5.9  
sparc) - [blastwave.org](http://blastwave.org) or CoolStack? Neither seem to specify if they  
will work on this version of Solaris.  
Thank you. -Mark

---

<div class="post-metadata">

**Author:** ![agrapha](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/a/58f4c7/32.png) [@agrapha](https://www.ruby-forum.com/u/agrapha)\
**Post date:** [April 25, 2007, 6:49pm UTC](https://www.ruby-forum.com/t/ror-on-solaris-10-gem-installation-error/56619/5 "2007-04-25T18:49:41Z")

</div>

Mark wrote:

> > Dan
> 
> * * *
> 
> Which packages for ruby/rubygems should I be using for Solaris 9 (5.9  
> sparc) - [blastwave.org](http://blastwave.org) or CoolStack? Neither seem to specify if they  
> will work on this version of Solaris.  
> Thank you. -Mark

For the blastwave packages, the pkg-get program (which you should  
download from their site) will do the right thing and download the  
packages appropriate for your platform.

Regards,

Dan

---

<div class="post-metadata">

**Author:** ![agrapha](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/a/58f4c7/32.png) [@agrapha](https://www.ruby-forum.com/u/agrapha)\
**Post date:** [April 25, 2007, 3:51pm UTC](https://www.ruby-forum.com/t/ror-on-solaris-10-gem-installation-error/56619/6 "2007-04-25T15:51:14Z")

</div>

> > > 
> > 
> > I have the exact same issue - could you please copy me when  
> > a solution  
> > is presented? As far as I can tell, this has something to do with an  
> > incompatible version of openssl installed. Thank you. -Mark

Personally, I recommend [blastwave.org](http://blastwave.org) over [sunfreeware.com](http://sunfreeware.com) for Solaris  
packages, especially if you’re using the Sun Studio compiler. They have  
more Ruby packages afaik, and they tend to be more up to date.

Regards,

Dan

This communication is the property of Qwest and may contain confidential  
or  
privileged information. Unauthorized use of this communication is  
strictly  
prohibited and may be unlawful. If you have received this communication  
in error, please immediately notify the sender by reply e-mail and  
destroy  
all copies of the communication and any attachments.

---

<div class="post-metadata">

**Author:** ![agrapha](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/a/58f4c7/32.png) [@agrapha](https://www.ruby-forum.com/u/agrapha)\
**Post date:** [April 26, 2007, 8:14am UTC](https://www.ruby-forum.com/t/ror-on-solaris-10-gem-installation-error/56619/7 "2007-04-26T08:14:06Z")

</div>

That should not matter, the packages have different names (by design),  
so running Solaris update will do the right thing every time.

n

---

<div class="post-metadata">

**Author:** ![agrapha](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/a/58f4c7/32.png) [@agrapha](https://www.ruby-forum.com/u/agrapha)\
**Post date:** [April 26, 2007, 12:12am UTC](https://www.ruby-forum.com/t/ror-on-solaris-10-gem-installation-error/56619/8 "2007-04-26T00:12:20Z")

</div>

Daniel B. wrote:

> Mark wrote:
> 
> > > Dan
> > 
> > * * *
> > 
> > Which packages for ruby/rubygems should I be using for Solaris 9 (5.9  
> > sparc) - [blastwave.org](http://blastwave.org) or CoolStack? Neither seem to specify if they  
> > will work on this version of Solaris.  
> > Thank you. -Mark
> 
> For the blastwave packages, the pkg-get program (which you should  
> download from their site) will do the right thing and download the  
> packages appropriate for your platform.
> 
> Regards,
> 
> Dan

* * *

Thank you, this worked! Installed pkg-get from [blastwave.org](http://blastwave.org) on Solaris  
9. pgk-get successfully installed ruby and rubygems, dependencies  
automatically installed, into /opt/csw/bin. Gem works, so ‘gem install’  
takes over from here for remaining ruby packages. Last question: how to  
apply Sun updates to this machine - will Sun’s released patch cluster be  
confused, or is there some way to only use pkg-get? -Mark

---

<div class="post-metadata">

**Author:** ![agrapha](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/a/58f4c7/32.png) [@agrapha](https://www.ruby-forum.com/u/agrapha)\
**Post date:** [April 26, 2007, 9:37am UTC](https://www.ruby-forum.com/t/ror-on-solaris-10-gem-installation-error/56619/9 "2007-04-26T09:37:27Z")

</div>

Hi there !

I’m running Rails on Solaris 10 for more than 1 year from now. I had  
exactly the same error. After some exchange with Sun support, I try to  
install OpenSSL with the same version (0.9.7 at that time) and rebuild  
it from sources. It then functions properly.

It was with the 01/06 release of Solaris. There were several issued on  
this system (/usr/sfw/lib/libstdc++.la void or lack, and so on).

I’m not sure you’ve got the same problem. But this are my 2 cents to  
what you could try.

Tony
