perfectsense / gyro

Gyro is a command-line tool for creating, updating, and maintaining cloud infrastructure. Gyro makes infrastructure-as-code possible.
https://gyro.dev
Apache License 2.0
134 stars 7 forks source link

Updating to Big Sur causes issues with embedded Java #381

Open tloisel1 opened 3 years ago

tloisel1 commented 3 years ago

Upgrading to Big Sur causes issues with embedded Java, specifically libjvm.dylib

Error: dl failure on line 542
Error: failed /usr/local/bin/gyro-rt/lib/server/libjvm.dylib, because dlopen(/usr/local/bin/gyro-rt/lib/server/libjvm.dylib, 10): no suitable image found.  Did find:
    /usr/local/bin/gyro-rt/lib/server/libjvm.dylib: code signature in (/usr/local/bin/gyro-rt/lib/server/libjvm.dylib) not valid for use in process using Library Validation: library load disallowed by system policy

Current workaround is to separately install Java 11 and delete the embedded Java

sarah-powell commented 2 years ago

Adding onto this. When they say "delete the embedded Java" they mean: delete the gyro-rt folder that you get when you unzip the download. Then move the gyro executable to wherever you keep your gyro installed.

Open a new terminal window to verify your gyro version is updated: gyro --version