Project

General

Profile

Actions

Bug #19794

open

Ruby 3.2.2 fails to build on macOS Sonoma betas

Added by jhaungs (Jim Haungs) 9 months ago. Updated 8 months ago.

Status:
Assigned
Target version:
-
[ruby-core:114332]

Description

With Big Sur, Apple deprecated putting dylibs in /usr/local/lib. In Sonoma (beta 4), this directory has disappeared completely. However, ruby's configure script depends on its existence. So, virtually every ruby installer (RVM, rbenv, asdf, ruby-build, and even building from source tarball) fails.

When building ruby 3.2.2 from source, the configure step outputs the irritatingly useless "something wrong with LDFLAGS" error message and fails to build.

The solution was to cd /usr/local; sudo mkdir lib to create the missing lib directory under /usr/local.

It would be nice to remove this dependency from the configure script.

Actions

Also available in: Atom PDF

Like0
Like0Like0Like0Like0Like0Like0