ocra icon indicating copy to clipboard operation
ocra copied to clipboard

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

Open Filechaser opened this issue 4 years ago • 3 comments

..... /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

Filechaser avatar Nov 18 '20 12:11 Filechaser

Hello, I have the same issue here :)

poqudrof avatar Nov 26 '20 22:11 poqudrof

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

poqudrof avatar Nov 27 '20 09:11 poqudrof

Is there a way to work around that problem?

Filechaser avatar Dec 08 '20 21:12 Filechaser