larsch / ocra

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

require 'digest' in code results in exe that doesnt work because digest.so is not included #169

Open Filechaser opened 4 years ago

Filechaser commented 4 years ago

..... /ocr7DB8.tmp/lib/ruby/2.7.0/x64-mingw32/digest/md5.so (LoadError) How can I specify the *.so file manually?

I can't use --dll because it is not a dll and needs to be in the lib folder.

Why is it not automatically included? The main.rb file has the line require 'digest' ocra only includes the digest.rb file and not the md5.so in the ./x64-mingw32/digest/ folder

poqudrof commented 4 years ago

Hello, I have the same issue here :)

poqudrof commented 4 years ago

The digest.so is dynamically loaded and cannot be resolved after packaging. It refers to a temporary file also for me.

Filechaser commented 3 years ago

Is there a way to work around that problem?