Problems building 2.7.x on M1 Monterey (12.6.2) Intel architecture #2131
Unanswered
lowell-lewis
asked this question in
Build failures
Replies: 1 comment 1 reply
-
|
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
We have a legacy project running on 2.7.3 but this problem creeped up recently with our setup process on M1 macs. We install most of the dependencies with Intel brew including rbenv and ruby-build. The build was working fine with openssl 1.1.1q and prior builds of ruby-build. More recent attempts resulted in build failures with openssl 1.1.1s and the latest ruby-build. We have to install Intel brew in a non-standard prefix (/usr/local/homebrew) b/c of security restrictions on our corporate laptops. The build error is below. It's looking in the wrong location for the openssl lib. We observe the error despite specifying the openssl directory when trying to install it. This worked fine previously so not sure what introduced it but seems related to the ruby-build and openssl upgrades.
RUBY_CONFIGURE_OPTS="--with-openssl-dir=$(brew --prefix [email protected])" rbenv install 2.7.7
.Beta Was this translation helpful? Give feedback.
All reactions