Skip to content

Library not loaded libgmp.10.dylib on self-hosted macos M1 #341

@m2hd1

Description

@m2hd1

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)

image

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')),

image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      pFad - Phonifier reborn

      Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

      Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


      Alternative Proxies:

      Alternative Proxy

      pFad Proxy

      pFad v3 Proxy

      pFad v4 Proxy