generated from actions/javascript-action
-
-
Notifications
You must be signed in to change notification settings - Fork 326
Closed
Description
using: self-hosted macOS (M1 chip)
- name: Install ruby
uses: ruby/setup-ruby@v1
env:
ImageOS: macos1015
1st libgmp.10.dylib
error:
The installation failed on "Print Ruby version" step with the error below:
Reason: tried: '/usr/local/opt/gmp/lib/libgmp.10.dylib' (no such file), '/usr/local/lib/libgmp.10.dylib' (no such file), '/usr/lib/libgmp.10.dylib' (no such file)
I have gmp
installed with homebrew and hence the libgmp.10.dylib
is located under /opt/homebrew/Cellar/gmp/6.2.1_1/lib/libgmp.10.dylib
2nd libgmp.10.dylib
error
I manually installed gmp
to ensure /usr/local/lib/libgmp.10.dylib
will be available
but then, got a new error:
'/usr/local/lib/libgmp.10.dylib' (mach-o file, but is an incompatible architecture (have 'arm64', need 'x86_64')),
FabioTacke, Shahaed, guy-shahine, gaultierq, leoliew and 1 more
Metadata
Metadata
Assignees
Labels
No labels