Forum: Ruby on Rails ROR on solaris 10 gem installation error

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
B309d27641e9b9654bb4284fad572055?d=identicon&s=25 Ba Du (agrapha)
on 2006-04-01 21:02
On my Sun Enterprise 450,
I installed ruby-1.8.4 from 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#
D7a1f975550e6bc019c390dea29b4363?d=identicon&s=25 Mark (Guest)
on 2007-04-25 01:04
Ba Du wrote:
> On my Sun Enterprise 450,
> I installed ruby-1.8.4 from 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
Ff804a315bea90445dcb3876e206cbe2?d=identicon&s=25 Nathan Fiedler (Guest)
on 2007-04-25 08:05
(Received via mailing list)
Why not use the CoolStack version of Ruby? It's there on 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
F3b7b8756d0c7f71cc7460cc33aefaee?d=identicon&s=25 Berger, Daniel (Guest)
on 2007-04-25 15:51
(Received via mailing list)
> >>
> > 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 over 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.
D7a1f975550e6bc019c390dea29b4363?d=identicon&s=25 Mark (Guest)
on 2007-04-25 18:28
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 over 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 or CoolStack? Neither seem to specify if they
will work on this version of Solaris.
Thank you.   -Mark
F3b7b8756d0c7f71cc7460cc33aefaee?d=identicon&s=25 Daniel Berger (Guest)
on 2007-04-25 18:49
(Received via mailing list)
Mark wrote:
>>
>> Dan
>>
> ----
> Which packages for ruby/rubygems should I be using for Solaris 9 (5.9
> sparc) - 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
D7a1f975550e6bc019c390dea29b4363?d=identicon&s=25 Mark (Guest)
on 2007-04-26 00:12
Daniel Berger wrote:
> Mark wrote:
>>>
>>> Dan
>>>
>> ----
>> Which packages for ruby/rubygems should I be using for Solaris 9 (5.9
>> sparc) - 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 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
Ff804a315bea90445dcb3876e206cbe2?d=identicon&s=25 Nathan Fiedler (Guest)
on 2007-04-26 08:14
(Received via mailing list)
That should not matter, the packages have different names (by design),
so running Solaris update will do the right thing every time.

n
99dfa3f52932cfa4dab2a7ae6dd7ef39?d=identicon&s=25 Tony (Guest)
on 2007-04-26 09:37
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
This topic is locked and can not be replied to.