
Issue #20264 has been updated by andy@andyjeffries.co.uk (Andy Jeffries). hsbt (Hiroshi SHIBATA) wrote in #note-6:
I could install `rmagick` with `linux/amd64`.
``` $ docker run -it --platform=linux/amd64 registry.docker.com/library/ruby:3.3-slim bash ```
This may be fixed with #20085 with @sorah 's suggestion.
This is definitely an arm64 issue, our production containers use amd64 and I agree it works fine on that platform. ---------------------------------------- Bug #20264: Segfault in Enumerator#next while installing RMagick on M1 Mac https://bugs.ruby-lang.org/issues/20264#change-106755 * Author: andy@andyjeffries.co.uk (Andy Jeffries) * Status: Open * Priority: Normal * ruby -v: 3.3 * Backport: 3.0: UNKNOWN, 3.1: UNKNOWN, 3.2: UNKNOWN, 3.3: UNKNOWN ---------------------------------------- I raised a bug at RMagick, they said to go to pkg-config. I raised a bug there, and they said to raise it here. Hopefully this is the right place... https://github.com/ruby-gnome/pkg-config/issues/24 Simplest reproduction steps (although a full backtrace of a Rails app trying to do it is at the link above): ``` $ docker run -it --platform=linux/arm64 registry.docker.com/library/ruby:3.3-slim bash root@163711a82570:/# apt-get update root@163711a82570:/# apt-get install --no-install-recommends -y build-essential pkg-config libmagickwand-dev root@163711a82570:/# gem install rmagick ``` -- https://bugs.ruby-lang.org/