Project

General

Profile

Actions

Bug #19794

open

Ruby 3.2.2 fails to build on macOS Sonoma betas

Added by jhaungs (Jim Haungs) over 1 year ago. Updated about 1 year 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.


Related issues 1 (1 open0 closed)

Related to Ruby master - Bug #20631: Build failure with Xcode 16 beta and macOS 15 (Sequoia) BetaAssignedhsbt (Hiroshi SHIBATA)Actions
Actions

Also available in: Atom PDF

Like0
Like0Like0Like0Like0Like0Like0Like0