[Ruby Forum] Problem with rubygems installation in Cygwin

  • Thread starter Alexey Verkhovsky
  • Start date
A

Alexey Verkhovsky

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

WATANABE Hirofumi

Hi,

Alexey Verkhovsky said:
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.
 

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