New TBrowser doesn't worked now for macos

Thanks a lot. Seeing some of the posts, I figured that maybe the best approach would be to uninstall ncurses. That led me to notice that my macports was out of date (i haven’t used it in years since nowadays i use homebrew). After installing the macports version compatible with Sequoia 15, not only did it compile, I was also able to compile with c++20 standard. That required that I use the built-in tbb module (found out thanks to this post: Compiling root with c++20). So to summarise, what I did:

  • Update macports to version compatible with Sequoia 15 (download the installer from their web site)
  • Migrate my ports (doing sudo port -v selfupdate && sudo port upgrade outdated)
  • Install ROOT from the Git HEAD:
    • git clone https://github.com/root-project/root.git
    • mkdir root-build root-install
    • cd root-build
    • cmake -Dbuiltin_glew=ON -Dbuiltin_gif=ON -Dbuiltin_png=ON -Dbuiltin_tbb=ON -DCMAKE_CXX_STANDARD=20 -DCMAKE_CXX_STANDARD_REQUIRED=ON -DCMAKE_INSTALL_PREFIX=../root-install ../root
    • cmake --build . --target install -j8

That said, as nicely as it all works, I still have my old TBrowser crashing with the exact same message. As you can see, I am already using -Dbuiltin_gif=ON as suggested in Issue with root on Mac Sequoia (still?) - #8 by cxwx1 and -Dbuiltin_png=ON to ensure it is used for ROOT compilation as pointed out by @linev , but I obtain the same crash as before.
Just to be sure, in /path/to/root-install/etc/system.rootrc, I set the browser parameter as Browser.Name: TRootBrowser. Is there a mistake here perhaps? Or do I need to use an additional built-in package ? Sorry to still bother with these very specific issues. Thanks a lot for all the patience.