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

FATAL ERROR: Bad signature in executable. #178

Open
abarrak opened this issue Dec 14, 2021 · 3 comments
Open

FATAL ERROR: Bad signature in executable. #178

abarrak opened this issue Dec 14, 2021 · 3 comments

Comments

@abarrak
Copy link

abarrak commented Dec 14, 2021

Hi,

I'm receiving this error when using OCRA on Windows 10

>my-script.exe
FATAL ERROR: Bad signature in executable.

Command:

ocra --no-dep-run --gem-full --gemfile Gemfile --add-all-core --dll ruby_builtin_dlls\libssp-0.dll --dll ruby_builtin_dlls\libgmp-10.dll my-script.rb
@Delikt
Copy link

Delikt commented Jan 19, 2022

If you using Ruby Version Ruby+Devkit 3.1.0-1 (x64) uninstall this version and try Version Ruby+Devkit 3.0.3-1 (x64) instead..

make sure you have a Gemfile to install the gems quickly

i got the same Error with the 3.1.0 Version... and all working fine with 3.0.3

@abarrak
Copy link
Author

abarrak commented Jan 24, 2022

If you using Ruby Version Ruby+Devkit 3.1.0-1 (x64) uninstall this version and try Version Ruby+Devkit 3.0.3-1 (x64) instead..

Actually I tried with version 2.7.3 and 2.4 but the same error is exhibited.
I believe it's related to the operating system Win10 setup inside a corporate with security signing is hardened.
Somehow I think this PR will contribute to resolve the issue.

make sure you have a Gemfile to install the gems quickly

Already did.

@Vucius
Copy link

Vucius commented Apr 30, 2022

On Windows,I think the key is \ and /
After I typed --dll ruby_builtin_dlls\libssp-0.dll,I get the same problem
But not with --dll ruby_builtin_dlls/libssp-0.dll

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

3 participants