[MacPorts] #66380: R @4.2.2_1: error when installing package "later: ld: library not found for -latomic (was: clang-14: unable to locate default SDK)

MacPorts noreply at macports.org
Sat Dec 3 13:22:01 UTC 2022


#66380: R @4.2.2_1: error when installing package "later: ld: library not found for
-latomic
---------------------------+--------------------
  Reporter:  MarcKaufmann  |      Owner:  (none)
      Type:  defect        |     Status:  new
  Priority:  Normal        |  Milestone:
 Component:  ports         |    Version:
Resolution:                |   Keywords:
      Port:  R             |
---------------------------+--------------------
Changes (by MarcKaufmann):

 * port:  clang-14 => R


Comment:

 There seems to be an issue with my Xcode installation I believe:

 {{{
 % /usr/bin/xcodebuild --version
 xcode-select: error: tool 'xcodebuild' requires Xcode, but active
 developer directory '/Library/Developer/CommandLineTools' is a command
 line tools instance
 }}}

 Is my Xcode CLI tools masking the SDK?

 And what should I do first, open Xcode SDK (which I did, but I never
 created anything in the window, i.e. I immediately closed the window). Or
 should I do the rebuilding of the tools and see what I get? When you say
 "do the test compile" you probably mean the little file that Ken wrote
 that checks if atomic is needed or not?

 Happy to wait if it fixes the issue or helps you figure out what's going
 on.

-- 
Ticket URL: <https://trac.macports.org/ticket/66380#comment:14>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list