Velocity Reviews

Velocity Reviews (http://www.velocityreviews.com/forums/index.php)
-   Ruby (http://www.velocityreviews.com/forums/f66-ruby.html)
-   -   [Ruby Forum] Problem with rubygems installation in Cygwin (http://www.velocityreviews.com/forums/t817083-ruby-forum-problem-with-rubygems-installation-in-cygwin.html)

Alexey Verkhovsky 10-04-2004 09:27 PM

[Ruby Forum] Problem with rubygems installation in Cygwin
 
Unanswered question from Ruby Forum
(http://ruby-forum.org/bb/viewtopic.php?t=87):


I am running a Windows XP box and am trying to get started with Ruby.
I've seen some of the code samples, and I want to get in on the action.
Unfortunately, some of my peripheral knowledge (er.. lack thereof) is
getting in the way.

I am on a Windows XP box running cygwin

CYGWIN_NT-5.1 astrocity 1.5.11(0.116/4/2) 2004-09-04 23:17 i686 unknown
unknown Cygwin

I've downloaded the rubygems-0.8.1 archive. Then...

Code:
$ ruby install.rb

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/lib/ruby/1.8/i386-cygwin/digest/md5.so: dlopen, Win32 error 126 -
/usr/lib/ruby/1.8/i386-cygwin
/digest/md5.so (LoadError)
from
/usr/lib/ruby/site_ruby/1.8/rubygems/loadpath_manager.rb:5:in `require'
from /usr/lib/ruby/site_ruby/1.8/rubygems/package.rb:10
from
/usr/lib/ruby/site_ruby/1.8/rubygems/loadpath_manager.rb:5:in
`require__'
from
/usr/lib/ruby/site_ruby/1.8/rubygems/loadpath_manager.rb:5:in `require'
from /usr/lib/ruby/site_ruby/1.8/rubygems/builder.rb:1
from
/usr/lib/ruby/site_ruby/1.8/rubygems/loadpath_manager.rb:5:in
`require__'
from
/usr/lib/ruby/site_ruby/1.8/rubygems/loadpath_manager.rb:5:in `require'
from /usr/lib/ruby/site_ruby/1.8/rubygems.rb:58:in `manage_gems'
from install.rb:142:in `install_rb'
from install.rb:148

but...

Code:

$ ls -la /usr/lib/ruby/1.8/i386-cygwin/digest/md5.so
-rwxr-x---+ 1 Jim Users 6144 Dec 25 2003
/usr/lib/ruby/1.8/i386-cygwin/digest/md5.so


So, is my problem something like
http://www.cygwin.com/ml/cygwin/2004-02/msg00828.html (a static vs.
dynamic library issue) or something else?

Any help is much appreciated.




WATANABE Hirofumi 10-05-2004 03:09 AM

Re: [Ruby Forum] Problem with rubygems installation in Cygwin
 
Hi,

Alexey Verkhovsky <alex@verk.info> writes:

> Code:
> $ ruby install.rb
>
> 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/lib/ruby/1.8/i386-cygwin/digest/md5.so: dlopen, Win32 error 126 -
> /usr/lib/ruby/1.8/i386-cygwin
> /digest/md5.so (LoadError)


% objdump -p /usr/lib/ruby/1.8/i386-cygwin/digest/md5.so | grep 'DLL Name'
DLL Name: cygruby18.dll
DLL Name: cygcrypto-0.9.7.dll
DLL Name: cygwin1.dll
DLL Name: KERNEL32.dll
DLL Name: cygruby18.dll
It depends on OpenSSL. Install OpenSSL with setup.exe.

--
eban




All times are GMT. The time now is 03:49 AM.

Powered by vBulletin®. Copyright ©2000 - 2013, vBulletin Solutions, Inc.
SEO by vBSEO ©2010, Crawlability, Inc.