# ROOT v6.36.00 won't compile on MacBookPro

**URL:** <https://root-forum.cern.ch/t/root-v6-36-00-wont-compile-on-macbookpro/63775>\
**Category:** Newbie\
**Created:** [June 20, 2025, 6:39pm UTC](https://root-forum.cern.ch/t/root-v6-36-00-wont-compile-on-macbookpro/63775 "2025-06-20T18:39:30Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![dhorns](https://root-forum.cern.ch/letter_avatar_proxy/v4/letter/d/df788c/32.png) [@dhorns](https://root-forum.cern.ch/u/dhorns)\
**Post date:** [June 20, 2025, 6:39pm UTC](https://root-forum.cern.ch/t/root-v6-36-00-wont-compile-on-macbookpro/63775/1 "2025-06-20T18:39:31Z")

</div>

* * *

\_ROOT Version: 6.36.00  
\_Platform: MacOS Sequoia 15.5 on Intel MacBook Pro 16-inch 2019  
\_Compiler: Apple Clang 17.0.0 and cmake 4.0.3

* * *

I made sure that I had XCode tools, cmake, and also the python dependencies installed.

cmake worked just fine, but when I compile with make, I keep getting the same error to do with zstd.h not being found.

 ![Screenshot 2025-06-20 at 15.38.13](https://root-forum.cern.ch/uploads/default/original/3X/4/4/4493340841c4b04fccddad115c78e1ae7ff99264.png)

The strange thing for me is that I just installed root\_v6.36.00 on my iMac desktop and had no issues. That said, the iMac is much newer and so is not identical to the older MacBook.

Any help would be much appreciated. Thanks.

---

<div class="post-metadata">

**Author:** ![Danilo](https://root-forum.cern.ch/user_avatar/root-forum.cern.ch/danilo/32/34528_2.png) [@Danilo](https://root-forum.cern.ch/u/Danilo)\
**Post date:** [June 21, 2025, 3:41pm UTC](https://root-forum.cern.ch/t/root-v6-36-00-wont-compile-on-macbookpro/63775/2 "2025-06-21T15:41:20Z")

</div>

Hi,

Thanks for the post and sorry to see this issue.  
Have you tried to install zlib on your system via brew or via ROOT with the `builtin_zlib` configuration option?

Best,  
D

---

<div class="post-metadata">

**Author:** ![dhorns](https://root-forum.cern.ch/letter_avatar_proxy/v4/letter/d/df788c/32.png) [@dhorns](https://root-forum.cern.ch/u/dhorns)\
**Post date:** [June 22, 2025, 11:36am UTC](https://root-forum.cern.ch/t/root-v6-36-00-wont-compile-on-macbookpro/63775/3 "2025-06-22T11:36:03Z")

</div>

Hi Danillo,

Unfortunately that didn’t work. I installed zlib with brew and then also set some compiler flags on brew’s suggestion:

export LDFLAGS=“-L/usr/local/opt/zlib/lib”  
export CPPFLAGS=“-I/usr/local/opt/zlib/include”

But it still crapped out at the same place, compiling Compression.cpp. ☹

Thanks very much for the suggestion, though.

Dave
