ROOT 6.32.18 on macOS 26.0.1 from .pkg asking for Rosetta


Hello everyone

I am trying to install ROOT 6.32.18 on my M4 MacBook with macOS 26.0.1 from root_v6.32.18.macos-26.0-arm64-clang170.pkg. This prompts my computer to install “Rosetta” to enable running Intel-based programs on Apple silicon. However, the name suggests this is clearly an ARM binary.

Is this just a leftover of earlier versions or it indeed needs Rosetta?

Thanks


Hello,

this is not expected: the binaries are made on Apple Silicon-based nodes.
On what platform are you trying to install?

D

And a suggestion to unblock you while we figure this out: have you tried a brew installation of ROOT?

I am not sure I understand: This is for macOS 26.0.1 with Apple Silicon. Is there a further distinction that would matter?

I have not tried a brew installation (I still have a working ROOT installation on a different device I can use for the moment).

Thanks, just wanted to know on what system you detected the problem.

Hello,

I installed the pkg on a macOS26 Apple silicon platform and I cannot reproduce the issue, i.e. the installation goes well and I do not see any message related to incompatible architectures. I also checked again the procedure by which binaries are produced, and I can confirm that one was correctly created on a macOS26 Apple silicon node.

Can you imagine anything special with your (or the setup I tested on!) that causes the problem?

Sorry for the inconvenience.

Cheers,
Danilo

Thanks for checking!

Interesting… I see the attached message. But this is an almost vanilla Mac, so it’s not so easy to see what would interfere.

Is it possible that in your setup Rosetta is already installed and hence you don’t get prompted for it?

Thanks

Hi,

Thanks for the additional info.
After installing, if I check the kind of binaries, I get:

-> pwd
/Applications/root_v6.32.18/bin
-> file ./root
./root: Mach-O 64-bit executable arm64

What happens if you try the tarball instead of the pkg?

Cheers,
D

Hello

Unpacking the tar file and trying to run ROOT I get:
Library not loaded: /opt/local/lib/libz.1.dylib. This seems similar to this here: Recent MacOS binary kits are broken, missing libraries

At least it’s a different problem… :slight_smile:

I think I found the reason.

In the Distribution.xml files of the pkg file, there is a hostArchitectures=“arm64” missing, i.e. instead of

<options allow-external-scripts="no" customize="allow" rootVolumeOnly="false"/>

it should be

<options allow-external-scripts="no" customize="allow" rootVolumeOnly="false" hostArchitectures="arm64"/>

Expanding the package, adding this, and repackaging, the prompt for Rosetta disappears.

I can install ROOTnow, however the error

dyld[12810]: Library not loaded: /opt/local/lib/libz.1.dylib

  Referenced from: <0BAE3B64-9F48-3BA5-8DF7-B09ECDD6AF94> /Applications/root_v6.32.18/lib/libCore.so

  Reason: tried: '/Applications/root_v6.32.18/lib/libz.1.dylib' (no such file), '/opt/local/lib/libz.1.dylib' (no such file), '/System/Volumes/Preboot/Cryptexes/OS/opt/local/lib/libz.1.dylib' (no such file), '/opt/local/lib/libz.1.dylib' (no such file)

persists. Should this library not be included in the package?

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