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

Issue running PRISM on Mac OS 14.7 #254

Open
rpgoldman opened this issue Dec 29, 2024 · 0 comments
Open

Issue running PRISM on Mac OS 14.7 #254

rpgoldman opened this issue Dec 29, 2024 · 0 comments

Comments

@rpgoldman
Copy link

I installed the binary distribution for my M1 (ARM64) Mac. Unfortunately, I cannot run it because of new (?) Mac security restrictions. When I try to start prism from the command line I get this error:

$ prism --help
java.lang.UnsatisfiedLinkError: /Users/rpg/prism-4.8.1-mac64-arm/lib/libprism.dylib: dlopen(/Users/rpg/prism-4.8.1-mac64-arm/lib/libprism.dylib, 0x0001): tried: '/Users/rpg/prism-4.8.1-mac64-arm/lib/libprism.dylib' (code signature in <E1ED0AD0-470A-3BFC-8C80-2741FF04BE9C> '/Users/rpg/prism-4.8.1-mac64-arm/lib/libprism.dylib' not valid for use in process: library load disallowed by system policy), '/Users/rpg/prism-4.8.1-mac64-arm/lib/libprism.dylib' (code signature in <E1ED0AD0-470A-3BFC-8C80-2741FF04BE9C> '/Users/rpg/prism-4.8.1-mac64-arm/lib/libprism.dylib' not valid for use in process: library load disallowed by system policy), '/System/Volumes/Preboot/Cryptexes/OS/Users/rpg/prism-4.8.1-mac64-arm/lib/libprism.dylib' (no such file), '/Users/rpg/prism-4.8.1-mac64-arm/lib/libprism.dylib' (code signature in <E1ED0AD0-470A-3BFC-8C80-2741FF04BE9C> '/Users/rpg/prism-4.8.1-mac64-arm/lib/libprism.dylib' not valid for use in process: library load disallowed by system policy)

The key phrase seems to be:

code signature in <E1ED0AD0-470A-3BFC-8C80-2741FF04BE9C> '/Users/rpg/prism-4.8.1-mac64-arm/lib/libprism.dylib' not valid for use in process: library load disallowed by system policy

This command worked for me:

for x in prism-4.8.1-mac64-arm/lib/*.dylib ; do echo ${x} ; sudo xattr -d com.apple.quarantine "${x}" ; done

but it's pretty yucky

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

1 participant