-
-
Notifications
You must be signed in to change notification settings - Fork 5.5k
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
Invalid code signature on libjulia.1.9.dylib #44502
Comments
If I re-sign the faulty library (ad hoc signature), things work:
|
Normal julia builds don't do explicit codesigning steps, I guess clang signs it or something when building the dylib. I don't know why it loses it during install however. Local codesigning is a bit of a mistery to me 😄 . |
Yes, clang codesigns the binaries it produces, as do all compilers on recent macOS. Regarding:
It doesn't lose the signature, but it becomes invalid after the library binary is modified by Either the binary must be modified by tools that understand signatures, and re-sign. Or it must be manually re-signed in the makefile, using It matters because unsigned binaries are not allowed to run on recent macOS versions (whether Intel or ARM). |
Interesting that nobody reported this yet, I guess people don't do |
This bug still exists and was not fixed on the release 1.8.0 version, on macOS 12 for ARM:
because:
Could you reopen the bug, and backport the fix to the 1.8 branch please? |
Fix backported now. |
I'm still trying to get Julia master to compile… this time I'm using the binary builder, to avoid trouble, but a Julia compiled and installed with:
will crash when it is launched:
because
The library in the build directory has correct signature:
but it gets modified during install:
which invalidates the signature.
The text was updated successfully, but these errors were encountered: