Root 6.32.06 Sequoia binary package not working?

Dear all,

I’ve installed the pkg release (root_v6.32.06.macos-15.0-arm64-clang160.pkg) on my (M1) Mac 15.0 and trying to launch root I get :

$ source /Applications/root_v6.32.06/bin/thisroot.sh
$ root -b
Fatal in <TROOT::InitInterpreter>: cannot load library dlopen(/Applications/root_v6.32.06/lib/libCling.so, 0x0005): Library not loaded: /opt/local/lib/libzstd.1.dylib
  Referenced from: <899F4988-A8F7-3529-8A9B-B0EF2C47FED6> /Applications/root_v6.32.06/lib/libCling.so
  Reason: tried: '/Applications/root_v6.32.06/lib/libzstd.1.dylib' (no such file), '/opt/local/lib/libzstd.1.dylib' (no such file), '/System/Volumes/Preboot/Cryptexes/OS/opt/local/lib/libzstd.1.dylib' (no such file), '/opt/local/lib/libzstd.1.dylib' (no such file)

What do I miss here ?

Thanks,

I did:

curl https://github.com/root-project/root/releases/download/v6-32-06/root_v6.32.06.macos-15.0-arm64-clang160.tar.gz -o clang160.tar.gz -L
tar xvf clang160.tar.gz
cd root
source bin/thisroot.sh
root -b

And I get the ROOT prompt. I did that on a M2 Machine running MaCOS15 with Command Line Tools (CLT) 16. Which CLT do you have ? you can check with:

pkgutil --pkg-info=com.apple.pkg.CLTools_Executables

It gives me:

package-id: com.apple.pkg.CLTools_Executables
version: 16.0.0.0.1.1724870825

Looks like I have the same CLTs :

$ pkgutil --pkg-info=com.apple.pkg.CLTools_Executables
package-id: com.apple.pkg.CLTools_Executables
version: 16.0.0.0.1.1724870825
volume: /
location: /
install-time: 1726758168

Dear @laurent.aphecetche ,

Are you perhaps missing libzstd on your machine? What happens if you (re)install it via brew install zstd?

Cheers,
Vincenzo

Hi Vincenzo,

Well, if the binary distribution for macOS expects some brew packages to be present on the system, may the page Dependencies - ROOT should be updated to reflect that, as I was expecting the binary to be self-sufficient ? (or is that requirement listed somewhere else I may have missed ?)

Just saying, as I usually work on a Mac without Homebrew installed :wink:

But it happens that currently I do have homebrew installed, and with libzstd, but located in /opt/homebrew/lib/libzstd.1.dylib. Note however that I’ve not updated homebrew after I upgraded to Sequoia (must admit I kind of forgot I had it installed…) so that may explain the path difference ?

I guess I’ll wait for a conda build of 6.32.06 for a binary distribution then… Nothing critical on my side, as I can live with Spack-installed Root meanwhile.

Thanks,