ruby on WindowsXP can't load module wx

H

Heinrich Piard

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
 
L

Luis Lavena

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,
 
A

Alex Fenton

Luis said:
....


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
 

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

Forum statistics

Threads
473,755
Messages
2,569,536
Members
45,011
Latest member
AjaUqq1950

Latest Threads

Top