Open jpearl01 opened 3 years ago
What is strange is that it DOES seem to be finding the fox16_c.so file if I run with --verbose
:
m lib/ruby/gems/2.7.0/gems/fxruby-1.6.43-x64-mingw32/lib
m lib/ruby/gems/2.7.0/gems/fxruby-1.6.43-x64-mingw32/lib/2.7
a lib/ruby/gems/2.7.0/gems/fxruby-1.6.43-x64-mingw32/lib/2.7/fox16_c.so
m lib/ruby/gems/2.7.0/gems/fxruby-1.6.43-x64-mingw32/lib/fox16
From this SO: https://stackoverflow.com/questions/59924813/ruby-sqlite3-ocra-executable-missing-sqlite-native-so/59937281#59937281 I thought that it might be missing a .dll file related to the fxruby library, so I just copied all the required .dll files I found via this:
dumpbin.exe /dependents c:\Ruby27-x64\lib/ruby/gems/2.7.0/gems/fxruby-1.6.43-x64-mingw32/lib/2.7/fox16_c.so > c:\users\Josh\Dropbox\apps\qs_automation\required_dlls
Microsoft (R) COFF/PE Dumper Version 14.28.29335.0
Copyright (C) Microsoft Corporation. All rights reserved.
Dump of file c:\Ruby27-x64\lib\ruby\gems\2.7.0\gems\fxruby-1.6.43-x64-mingw32\lib\2.7\fox16_c.so
File Type: DLL
Image has the following dependencies:
libFOX-1.6-0.dll
libfxscintilla-20.dll
KERNEL32.dll
msvcrt.dll
libwinpthread-1.dll
USER32.dll
WS2_32.dll
libstdc++-6.dll
x64-msvcrt-ruby270.dll
into the bin directory of the ruby version I was using, but still get the same error (the verbose output indicates it was able to find the libFOX-1.6-0.dll and libfxscintilla-20.dll just fine
Same exact problem...
Hello,
I'm running into an error when I try to execute an fxruby script I've written:
I had to add the
--dll ruby_builtin_dlls\libssp-0.dll
to solve the dll issue that's been reported here as well, and the--gem-all
flag was added to try and get around this current problem. Any advice?The script I'm trying to create into an exe is here: https://github.com/jpearl01/qs_automation/blob/main/calc_qs_results.rb