You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hey, I’m seeing errors in linking on macOS (12.6) when Ruby has been built with Xcode 14 (well, command line developer tools, same difference).
This only happens with a copy of Ruby built after installing/updating Xcode/command line tools. A Ruby built with an earlier version of Xcode will not exhibit this problem, even after Xcode/CLTools has been updated.
This seems to be because -Wl,-undefined,dynamic_lookup no longer appears in RbConfig::CONFIG["DLDFLAGS”], which seems to be due to a new warning output when -undefined dynamic_lookup is specified tripping up Ruby’s configure script.
Hey, I’m seeing errors in linking on macOS (12.6) when Ruby has been built with Xcode 14 (well, command line developer tools, same difference).
This only happens with a copy of Ruby built after installing/updating Xcode/command line tools. A Ruby built with an earlier version of Xcode will not exhibit this problem, even after Xcode/CLTools has been updated.
This seems to be because
-Wl,-undefined,dynamic_lookup
no longer appears inRbConfig::CONFIG["DLDFLAGS”]
, which seems to be due to a new warning output when-undefined dynamic_lookup
is specified tripping up Ruby’s configure script.Here’s the relevant Ruby bug report: https://bugs.ruby-lang.org/issues/19005
I’ve tried with Ruby head and the change doesn’t seem to have fixed it for me.
The discussion on the bug report mentions some outer possible fixes for a few gems tripped up by this. Possibly
rb-sys
could adopt one of these?Here’s the full output of a quick test using the
oxi-test
gem (lightly edited to replace my home directory with~
).The text was updated successfully, but these errors were encountered: