larsch / ocra

One-Click Ruby Application Builder
http://ocra.rubyforge.org/
835 stars 83 forks source link

OpenSSL "The specified module could not be found." #190

Closed crespire closed 1 year ago

crespire commented 2 years ago

Hey folks,

Been trying to build a GUI app using glimmer-dsl-libui and having some issues with openssl.

In my build command, I am already adding -dll ruby_builtin_dlls/libssl-1_1-x64x.dll and when I look into the uncompressed package, I see that ocr.tmp/lib/ruby/3.1.0/x64-mingw-ucrt/openslli.so exists.

Any ideas on why it is saying the module can't be found? Based on what I can see, the file is there.

crespire commented 2 years ago

image

crespire commented 2 years ago

I added a sleep(10) to my gui.rb before instantiating the Gui and I notice that the script is running before all the file creates are completed.

Is this something I can fix?

crespire commented 2 years ago

Does this perhaps have something to do with Ruby 3.1's switch to the newer openssl?