[Ruby Forum] Problem with rubygems installation in Cygwin

Discussion in 'Ruby' started by Alexey Verkhovsky, Oct 4, 2004.

  1. 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.
     
    Alexey Verkhovsky, Oct 4, 2004
    #1
    1. Advertising

  2. Hi,

    Alexey Verkhovsky <> 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
     
    WATANABE Hirofumi, Oct 5, 2004
    #2
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Replies:
    0
    Views:
    529
  2. Alexey Verkhovsky

    [Ruby-Forum] eruby installation on Win2K

    Alexey Verkhovsky, Sep 21, 2004, in forum: Ruby
    Replies:
    0
    Views:
    98
    Alexey Verkhovsky
    Sep 21, 2004
  3. Alexey Verkhovsky

    [Ruby Forum] Forum digest by email

    Alexey Verkhovsky, Sep 22, 2004, in forum: Ruby
    Replies:
    0
    Views:
    447
    Alexey Verkhovsky
    Sep 22, 2004
  4. Philip Rutkowski

    ncurses-ruby installation in cygwin

    Philip Rutkowski, Jul 29, 2008, in forum: Ruby
    Replies:
    1
    Views:
    198
    Philip Rutkowski
    Jul 30, 2008
  5. Marcus Brito
    Replies:
    1
    Views:
    212
    Marcus Brito
    Oct 5, 2008
Loading...

Share This Page