# ROOT fails on my Mac after an update

**URL:** <https://root-forum.cern.ch/t/root-fails-on-my-mac-after-an-update/64802>\
**Category:** ROOT\
**Created:** [April 17, 2026, 2:00am UTC](https://root-forum.cern.ch/t/root-fails-on-my-mac-after-an-update/64802 "2026-04-17T02:00:38Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![spencer](https://root-forum.cern.ch/user_avatar/root-forum.cern.ch/spencer/32/39846_2.png) [@spencer](https://root-forum.cern.ch/u/spencer)\
**Post date:** [April 17, 2026, 2:00am UTC](https://root-forum.cern.ch/t/root-fails-on-my-mac-after-an-update/64802/1 "2026-04-17T02:00:39Z")

</div>

* * *

_Please read [tips for efficient and successful posting](https://root-forum.cern.ch/t/tips-for-efficient-and-successful-posting/28292) and [posting code](https://root-forum.cern.ch/t/posting-code-read-this-first/28293)_

_Please fill also the fields below. Note that **`root -b -q`** will tell you this info, and starting from 6.28/06 upwards, you can call **`.forum bug`** from the ROOT prompt to pre-populate a topic._

_ROOT Version:_ 6.38.04  
_Platform:_ Macbook Air with Sequioa 15.7.4  
_Compiler:_ 26.3

* * *

Hi,

My ROOT installation failed after an update. I tried updating Mactools, but it still fails, with a bunch of error messages starting

warning: no such sysroot directory: ‘/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk’  
C system headers (glibc/Xcode/Windows SDK) must be installed.  
fatal error: module map file ‘module.modulemap’ not found  
Module Darwin not found.

This problem looks very similar to the problem described in

> [@Problems Loading Root to MacBook](https://root-forum.cern.ch/t/problems-loading-root-to-macbook/64571):
>
> ROOT Version: 6.36.06 Platform: MacOS Tahoe 26.2 Compiler: ? I have been unable to install Root on my MacBook since an OS update last year. With the most recent update, I tried again, unsuccessfully, using Homebrew. This is what happened when I tried to start Root after executing the Homebrew installation commands: Mac:root jamesbowen$ root -l warning: no such sysroot directory: ‘/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk’ C system headers (glibc/Xcode/Windows SDK) must be in…

However, I installed and maintain ROOT using homebrew, and am hoping that there is a simpler solution that does not require reinstalling ROOT using a different method. This seems like it would be a fairly common problem, with, hopefully, a simple solution.

thanks for any pointers.

Spencer

---

<div class="post-metadata">

**Author:** ![couet](https://root-forum.cern.ch/user_avatar/root-forum.cern.ch/couet/32/12037_2.png) [@couet](https://root-forum.cern.ch/u/couet)\
**Post date:** [April 17, 2026, 5:20am UTC](https://root-forum.cern.ch/t/root-fails-on-my-mac-after-an-update/64802/2 "2026-04-17T05:20:46Z")

</div>

Just to clarify which MacOS version you have now: Your message says it is 15.7.4 but after an update it should be 26 ?

---

<div class="post-metadata">

**Author:** ![spencer](https://root-forum.cern.ch/user_avatar/root-forum.cern.ch/spencer/32/39846_2.png) [@spencer](https://root-forum.cern.ch/u/spencer)\
**Post date:** [April 17, 2026, 6:43pm UTC](https://root-forum.cern.ch/t/root-fails-on-my-mac-after-an-update/64802/3 "2026-04-17T18:43:12Z")

</div>

My OS is Sequoia 15.7.4. This is not the latest (Tahoe), but is it close. I held off on updating to Tahoe because of reports of problems, but that was a while back. If updating to Tahoe will fix this problem, I could do so.

My Xcode is Version 26.3, which should be the latest (at least for Tahoe).

---

<div class="post-metadata">

**Author:** ![couet](https://root-forum.cern.ch/user_avatar/root-forum.cern.ch/couet/32/12037_2.png) [@couet](https://root-forum.cern.ch/u/couet)\
**Post date:** [April 20, 2026, 8:13am UTC](https://root-forum.cern.ch/t/root-fails-on-my-mac-after-an-update/64802/4 "2026-04-20T08:13:00Z")

</div>

This is the configuration we have for sequoia:

MacOS: `15.7.5`  
Build: `24G624`  
given by the command: `sw_vers`

Xcode Command Line Tools: `26.3.0.0.1.1771626560`  
given by the command: `pkgutil --pkg-info=com.apple.pkg.CLTools_Executables`

---

<div class="post-metadata">

**Author:** ![spencer](https://root-forum.cern.ch/user_avatar/root-forum.cern.ch/spencer/32/39846_2.png) [@spencer](https://root-forum.cern.ch/u/spencer)\
**Post date:** [April 20, 2026, 6:07pm UTC](https://root-forum.cern.ch/t/root-fails-on-my-mac-after-an-update/64802/5 "2026-04-20T18:07:13Z")

</div>

Hi,

When I run those two commands, I get similar, but not identical versions. I believe that the Sequioia OS and Xcode are fully up-to-date, modulo not having installed Tahoe.

sklein@Spencers-MacBook-Air ~ % sw\_vers  
ProductName: macOS  
ProductVersion: 15.7.4  
BuildVersion: 24G517  
sklein@Spencers-MacBook-Air ~ % pkgutil --pkg-info=com.apple.pkg.CLTools\_Executables  
package-id: com.apple.pkg.CLTools\_Executables  
version: 26.2.0.0.1.1764812424  
volume: /  
location: /  
install-time: 1769318463  
sklein@Spencers-MacBook-Air ~ %

I suspect that the problem may be with the homebrew installation scripts - something isn’t getting connected up properly - i. e. some paths have changed, or something like that.

Is this problem likely to disappear if I upgrade the OS to Tahoe? Any other suggestions?

---

<div class="post-metadata">

**Author:** ![couet](https://root-forum.cern.ch/user_avatar/root-forum.cern.ch/couet/32/12037_2.png) [@couet](https://root-forum.cern.ch/u/couet)\
**Post date:** [April 21, 2026, 9:03am UTC](https://root-forum.cern.ch/t/root-fails-on-my-mac-after-an-update/64802/6 "2026-04-21T09:03:09Z")

</div>

It looks like your versions for both MacOS and CLT are a bit behind the latest one. When you go to “System Preference” → “General” → “Software Update” it should propose you an update for both.

Otherwise can always install ROOT from source.

---

<div class="post-metadata">

**Author:** ![spencer](https://root-forum.cern.ch/user_avatar/root-forum.cern.ch/spencer/32/39846_2.png) [@spencer](https://root-forum.cern.ch/u/spencer)\
**Post date:** [April 22, 2026, 6:22am UTC](https://root-forum.cern.ch/t/root-fails-on-my-mac-after-an-update/64802/7 "2026-04-22T06:22:14Z")

</div>

So, I updated the OS to the latest, and got build 24G624, as you did. There was no way to update Xcode, which thought it was up to date. Unfortunately, ROOT still failed in the same way.

Then, I tried updated to Tahoe, something I would have had to do eventually anyway. And then updated Xcode, and did a brew upgrade ROOT to make sure I had a Tahoe-compatible version. Then, I get the following:

sklein@Spencers-MacBook-Air ~ % sw\_vers  
ProductName: macOS  
ProductVersion: 26.4.1  
BuildVersion: 25E253  
sklein@Spencers-MacBook-Air ~ % pkgutil --pkg-info=com.apple.pkg.CLTools\_Executables  
package-id: com.apple.pkg.CLTools\_Executables  
version: 26.2.0.0.1.1764812424  
volume: /  
location: /  
install-time: 1769318463  
sklein@Spencers-MacBook-Air ~ %

When I run ROOT, I get errors:

sklein@Spencers-MacBook-Air ~ % root  
warning: no such sysroot directory: ‘/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk’  
C system headers (glibc/Xcode/Windows SDK) must be installed.  
fatal error: module map file ‘module.modulemap’ not found  
Module Darwin not found.  
Module std not found.  
\<\<\< cling interactive line includer \>\>\>: fatal error: module file ‘/private/tmp/root-20260410-30746-yhq51d/root-6.38.04/builddir/lib/Darwin.pcm’ not found: module file not found  
\<\<\< cling interactive line includer \>\>\>: note: imported by module ‘\_Builtin\_intrinsics’ in ‘/usr/local/Cellar/root/6.38.04\_1/lib/root/\_Builtin\_intrinsics.pcm’  
Failed to load module \_Builtin\_intrinsics  
Failed to load module ROOT\_Foundation\_C  
Failed to load module ROOT\_Config  
Failed to load module ROOT\_Rtypes  
Failed to load module ROOT\_Foundation\_Stage1\_NoRTTI  
Failed to load module Core  
Failed to load module Rint  
Failed to load module RIO  
Failed to load module MathCore

etc.

The first two lines of the ROOT crash

warning: no such sysroot directory: ‘/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk’  
C system headers (glibc/Xcode/Windows SDK) must be installed.

make it seem like ROOT is not able to find something that it should. I’m confused because Windows SDK is found only on Windows machines, not Macs.

In the past, homebrew has handled these connections seamlessly. But, now, something is not matching up.

Spencer

---

<div class="post-metadata">

**Author:** ![devajith](https://root-forum.cern.ch/user_avatar/root-forum.cern.ch/devajith/32/37165_2.png) [@devajith](https://root-forum.cern.ch/u/devajith)\
**Post date:** [April 22, 2026, 7:23am UTC](https://root-forum.cern.ch/t/root-fails-on-my-mac-after-an-update/64802/8 "2026-04-22T07:23:48Z")

</div>

> [@spencer](#):
>
> /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk

Your system seem to be trying to use an older version of SDK. Can you maybe see what you have in SDKs folder with:

```auto
ls /Library/Developer/CommandLineTools/SDKs

```

And then set `SDKROOT` to whatever the latest version you have there and then try to run root.

For example,

```auto
export SDKROOT=/Library/Developer/CommandLineTools/SDKs/MacOSX26.4.sdk

```

Let me know if that works.

---

<div class="post-metadata">

**Author:** ![system](https://root-forum.cern.ch/uploads/default/original/3X/e/f/efe4f24398fd8ffeb76bccb6ecc46d9d9c003376.png) [@system](https://root-forum.cern.ch/u/system)\
**Post date:** [May 6, 2026, 7:24am UTC](https://root-forum.cern.ch/t/root-fails-on-my-mac-after-an-update/64802/9 "2026-05-06T07:24:33Z")

</div>

Closed on May 6, 2026, 7:24am UTC

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.
