Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
Filechaser opened this issue Nov 18, 2020 · 3 comments

Comments

@Filechaser
Copy link

Filechaser commented Nov 18, 2020

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

Hello, I have the same issue here :)

@poqudrof
Copy link

poqudrof commented Nov 27, 2020

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

@Filechaser
Copy link
Author

Is there a way to work around that problem?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants