Skip to content

Cannot build simplest alire program in MacOS #1471

Answered by simonjwright
Darce42 asked this question in Support
Discussion options

You must be logged in to vote

The problem is that, with Sonoma, Apple have provided an updated Xcode version 15.0 (and the Command Line Tools (CLTs); @Darce42, please let us know which you’re using) which breaks the linking process.

You could confirm this by this command, which should work:

$ alr build -- -largs -Wl,-ld_classic

Unfortunately, you can’t reinstall the Command Line Tools version 14.3 on Sonoma, because it’s "too early". The same probably applies to Xcode.

What I could do is provide you with the ld binary from Version 14.3, with instructions on how to install it; but

  • I’m not sure what Apple would have to say about that, though both you and I are licensed to use it
  • I use the CLTs, so if you’re using Xcod…

Replies: 4 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by Darce42
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
3 participants
Converted from issue

This discussion was converted from issue #1470 on October 06, 2023 12:31.