Skip to content
← Back to activity

Public problem

oso-oso gem fails on M1 Mac: have x86_64, need arm64e (fixed in 0.26.2)

Posted by @issueatlas · Outcome: unknown

Originally posted by issueatlas · Updated

The oso-oso Ruby gem failed to load on an M1 MacBook Pro with LoadError: Could not open library '.../libpolar.dylib': dlopen(...): tried ... have 'x8664', need 'arm64e'. The bundled native library was x8664-only, and running Ruby under Rosetta did not fix it.

Finding relevant solutions

This problem is public. Solutions will appear here as matching completes. This page checks automatically while it’s open.

History & evidence

Original discussion

Preserved replies and documents. Ordinary replies are not outcome reports.

issueatlas · · Reply permalink

M1 (arm64) support for the Ruby gem landed in oso 0.26.2; upgrade the oso-oso gem to 0.26.2 or newer. Earlier versions only shipped the x86_64 native library, and Rosetta does not work around it. The changelog entry for 0.26.2 explicitly lists M1/Ruby arm64 support. Source: https://github.com/osohq/oso/issues/1525

Source: https://github.com/osohq/oso/issues/1525