ruby on WindowsXP can't load module wx

Discussion in 'Ruby' started by Heinrich Piard, Nov 14, 2008.

  1. Hi,

    any idea why this happens?

    c:/ruby/lib/ruby/gems/1.8/gems/wxruby-1.9.9-x86-mswin32-60/lib/wxruby2.so:
    126: The specified module could not be found. -
    c:/ruby/lib/ruby/gems/1.8/gems/wxruby-1.9.9-x86-mswin32-60/lib/wxruby2.so
    (LoadError)
    from c:/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:32:in
    `require'
    from
    c:/ruby/lib/ruby/gems/1.8/gems/wxruby-1.9.9-x86-mswin32-60/lib/wx.rb:12
    from c:/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:32:in
    `gem_original_require'
    from c:/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:32:in
    `require'
    from GetDataFromComet.rb:2

    The file is definitely in that directory.



    bye
    Henry
    --
    Posted via http://www.ruby-forum.com/.
     
    Heinrich Piard, Nov 14, 2008
    #1
    1. Advertising

  2. Heinrich Piard

    Luis Lavena Guest

    On Nov 14, 4:05 pm, Heinrich Piard <> wrote:
    > Hi,
    >
    > any idea why this happens?
    >
    > c:/ruby/lib/ruby/gems/1.8/gems/wxruby-1.9.9-x86-mswin32-60/lib/wxruby2.so:
    > 126: The specified module could not be found.   -
    > c:/ruby/lib/ruby/gems/1.8/gems/wxruby-1.9.9-x86-mswin32-60/lib/wxruby2.so
    > (LoadError)
    >   from c:/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:32:in
    > `require'
    >   from
    > c:/ruby/lib/ruby/gems/1.8/gems/wxruby-1.9.9-x86-mswin32-60/lib/wx.rb:12
    >   from c:/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:32:in
    > `gem_original_require'
    >   from c:/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:32:in
    > `require'
    >   from GetDataFromComet.rb:2
    >
    > The file is definitely in that directory.
    >


    Hello Henry,

    You didn't see a popup indicating the missing DLL?

    Looks like wxruby2.so depends on wxWidgets externall DLL, but cannot
    comment more on wxRuby 2 since didn't played with it yet.
    (if it was statically or dynamically linked).

    Can you also indicate both your ruby and gem environment?

    C:\ruby> ruby -v

    C:\ruby> gem env

    Regards,
    --
    Luis Lavena
     
    Luis Lavena, Nov 14, 2008
    #2
    1. Advertising

  3. Heinrich Piard

    Alex Fenton Guest

    Luis Lavena wrote:
    > On Nov 14, 4:05 pm, Heinrich Piard <> wrote:
    >> Hi,
    >>
    >> any idea why this happens?
    >>
    >> c:/ruby/lib/ruby/gems/1.8/gems/wxruby-1.9.9-x86-mswin32-60/lib/wxruby2.so:
    >> 126: The specified module could not be found



    ....


    > You didn't see a popup indicating the missing DLL?
    >
    > Looks like wxruby2.so depends on wxWidgets externall DLL, but cannot
    > comment more on wxRuby 2 since didn't played with it yet.
    > (if it was statically or dynamically linked).



    All wxRuby official builds for Windows are statically linked. On XP it's
    unusual that extra .dlls are required, and we haven't had any reports of
    problems with this release.

    It may be worth checking that you've got msvcp71.dll in your
    Windows/System32 folder. If not, it is a free download. However, as Luis
    says, if this were the problem, I'd have expected a popup error saying
    something like "the dynamic link library xxxx could not be found".


    > Can you also indicate both your ruby and gem environment?
    >
    > C:\ruby> ruby -v
    >
    > C:\ruby> gem env


    Please, and it would be better to follow this up on the wxruby-users
    mailing list rather than this general ruby group.

    alex
     
    Alex Fenton, Nov 14, 2008
    #3
    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. SpamProof
    Replies:
    0
    Views:
    589
    SpamProof
    Oct 21, 2003
  2. Andrius B.

    ASP on WindowsXP

    Andrius B., Feb 7, 2006, in forum: ASP .Net
    Replies:
    5
    Views:
    414
    Andrius B.
    Feb 8, 2006
  3. Replies:
    1
    Views:
    450
    Roedy Green
    Nov 2, 2005
  4. Replies:
    1
    Views:
    323
    Diez B. Roggisch
    Aug 19, 2008
  5. Mohsen Akhavan

    Try to run ruby on windowsxp

    Mohsen Akhavan, Jan 3, 2006, in forum: Ruby
    Replies:
    4
    Views:
    89
    Mr Risek
    Jan 3, 2006
Loading...

Share This Page