Ask a Question related to Ruby, Design and Development.
-
WATANABE Hirofumi #1
Re: dlopen is failing on Window XP works great on Window 2000
Michael Davis <mdavis@sevasoftware.com> writes:
Check the permission of the so file:> I created a very small C library for Ruby. It compilies and works great on Windows 2000 using cygwin. On Windows XP, however, I get the following run-time error:
>
> Exception `LoadError' at /usr/local/lib/ruby/site_ruby/1.6/locana_gui_mswin32.rb:4 - dlopen: Win32 error 5 - /usr/local/lib/ruby/site_ruby/1.6/locana_gui_mswin32_ext.so /usr/local/lib/ruby/site_ruby/1.6/locana_gui_mswin32.rb:4:in `require': dlopen: Win32 error 5 - /usr/local/lib/ruby/site_ruby/1.6/locana_gui_mswin32_ext.so (LoadError)
> from /usr/local/lib/ruby/site_ruby/1.6/locana_gui_mswin32.rb:4
> from /usr/local/lib/ruby/site_ruby/1.6/locana/locana_bindings.rb:101:in `require'
> from /usr/local/lib/ruby/site_ruby/1.6/locana/locana_bindings.rb:101
> from /usr/local/lib/ruby/site_ruby/1.6/locana.rb:279:in `require'
> from /usr/local/lib/ruby/site_ruby/1.6/locana.rb:279
> from tst/tst_locana.rb:15:in `require'
> from tst/tst_locana.rb:15
>
> Has anyone seen this error before and/or have any suggestions on how to work around it? I an running the latest cygwin on XP. The gcc compiler is gcc version 3.2 20020927 (prerelease).
>
> Any suggestions on how to work around this issue is greatly appreciated.
$ ls -l /usr/local/lib/ruby/site_ruby/1.6/locana_gui_mswin32_ext.so
It needs execute permission.
--
eban
WATANABE Hirofumi Guest
-
Install MX 7 failed on window 2000 server.Help help!!!
:brokenheart; Hi all, I have been failed to install MX 7 on a windows 2000 server (sp4) machine on my client's side. The error I get is that... -
Child window property window.opener null after postback
I have an webform from which I open a child window to display a calendar. When a date is selected in the calendar window it attempts to set the... -
Conflict with Window 2000 SP4?
We have at least 12 Adobe forms on our company website. They have been working well for us for about three years. The forms are for use by company... -
Open window only works once
my way for this situation: global gMIAW on mouseUp me gMIAW = window("fotosE.dir") gMIAW.filename = "Whatever" gMIAW.visible = true... -
Window 2000 file system
I would like to know if converting the file system from Fat 32 to NTFS cause any problem with any data file or programs of adobe photoshop,... -
Michael Davis #2
Re: dlopen is failing on Window XP works great on Window 2000
This was a great suggestion but the permissions were alreay set properly. I successfully worked around this issue by running make install and eliminated moving the binary to a locana sub-directory. However, now I am faced with another issue where calling simple Win32API functions such as CreateWindow are failing. Any other suggestions?
WATANABE Hirofumi wrote:> Michael Davis <mdavis@sevasoftware.com> writes:
>
>>>>I created a very small C library for Ruby. It compilies and works great on Windows 2000 using cygwin. On Windows XP, however, I get the following run-time error:
>>
>>Exception `LoadError' at /usr/local/lib/ruby/site_ruby/1.6/locana_gui_mswin32.rb:4 - dlopen: Win32 error 5 - /usr/local/lib/ruby/site_ruby/1.6/locana_gui_mswin32_ext.so /usr/local/lib/ruby/site_ruby/1.6/locana_gui_mswin32.rb:4:in `require': dlopen: Win32 error 5 - /usr/local/lib/ruby/site_ruby/1.6/locana_gui_mswin32_ext.so (LoadError)
>> from /usr/local/lib/ruby/site_ruby/1.6/locana_gui_mswin32.rb:4
>> from /usr/local/lib/ruby/site_ruby/1.6/locana/locana_bindings.rb:101:in `require'
>> from /usr/local/lib/ruby/site_ruby/1.6/locana/locana_bindings.rb:101
>> from /usr/local/lib/ruby/site_ruby/1.6/locana.rb:279:in `require'
>> from /usr/local/lib/ruby/site_ruby/1.6/locana.rb:279
>> from tst/tst_locana.rb:15:in `require'
>> from tst/tst_locana.rb:15
>>
>>Has anyone seen this error before and/or have any suggestions on how to work around it? I an running the latest cygwin on XP. The gcc compiler is gcc version 3.2 20020927 (prerelease).
>>
>>Any suggestions on how to work around this issue is greatly appreciated.
>
> Check the permission of the so file:
>
> $ ls -l /usr/local/lib/ruby/site_ruby/1.6/locana_gui_mswin32_ext.so
>
> It needs execute permission.
>
Michael Davis Guest



Reply With Quote

