# Error with root installation

**URL:** <https://root-forum.cern.ch/t/error-with-root-installation/59390>\
**Category:** Newbie\
**Created:** [May 18, 2024, 8:27pm UTC](https://root-forum.cern.ch/t/error-with-root-installation/59390 "2024-05-18T20:27:30Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![calisse](https://root-forum.cern.ch/letter_avatar_proxy/v4/letter/c/ec9cab/32.png) [@calisse](https://root-forum.cern.ch/u/calisse)\
**Post date:** [May 18, 2024, 8:27pm UTC](https://root-forum.cern.ch/t/error-with-root-installation/59390/1 "2024-05-18T20:27:30Z")

</div>

Hi, i installed root today on my new pc with fedora 40 and passed to the new pc from the old one all the codes.  
Whenever i try fitting something, it returns this error:  
“Warning in ROOT::Math::FitConfig::CreateMinimizer: Could not create the Minuit2 minimizer. Try using the minimizer Minuit”

To exclude incompatibility with my older codes, i tried doing a simple code:

"  
TF1 \*f = new TF1(“f”, “[0]”, 0, 100)  
TH1F \*h = new TH1F(“h”, “h”, 100, 0, 100)  
h-\>Fill(50);  
h-\>Fill(2);  
h-\>Fit(f)  
"  
The error still remains and is the same: this should exclude incompatibility with my old codes.

I installed the root package via terminal with  
"  
sudo dnf install root  
"  
I tried also doing root-config --features and minuit2 is there.  
Thank you for your patience.

_ROOT Version:_ 6.30/06  
_Platform:_ Fedora 40  
_Compiler:_ Not Provided

---

<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:** [May 19, 2024, 11:25am UTC](https://root-forum.cern.ch/t/error-with-root-installation/59390/2 "2024-05-19T11:25:43Z")

</div>

Hi,

Welcome to the Root community and thank you for _your_ patience!  
We do not control that packaging, unfortunately. Is it an option for you to build from sources?  
@jonas

Cheers,  
D

---

<div class="post-metadata">

**Author:** ![jonas](https://root-forum.cern.ch/user_avatar/root-forum.cern.ch/jonas/32/24756_2.png) [@jonas](https://root-forum.cern.ch/u/jonas)\
**Post date:** [May 19, 2024, 1:11pm UTC](https://root-forum.cern.ch/t/error-with-root-installation/59390/3 "2024-05-19T13:11:08Z")

</div>

The Fedora package is splitting up root in several subpackages:

> **[root - Fedora Packages](https://packages.fedoraproject.org/pkgs/root/)**
>
> View the root packages in Fedora.

Did you install `root-minuit2`?

---

<div class="post-metadata">

**Author:** ![calisse](https://root-forum.cern.ch/letter_avatar_proxy/v4/letter/c/ec9cab/32.png) [@calisse](https://root-forum.cern.ch/u/calisse)\
**Post date:** [May 19, 2024, 2:01pm UTC](https://root-forum.cern.ch/t/error-with-root-installation/59390/4 "2024-05-19T14:01:06Z")

</div>

Hi! Actually this morning while trying to fix up the thing i tried different alternative methods, for example building from sources or compiled binaries.  
While trying to build from sources, some errors while trying to make the build were encountered (during make -j8 it breaks).  
While trying to build from compiled binaries, i encountered there some errors due to some dependencies (for example the tbb version of 2021 was missing the libtbb.so.2 library (no clue why) and that breaks root, one has to switch to the tbb 2020.3 version).

In the end i gave up on those two option and switched back to the package manager and tried the following:  
‘’’  
sudo dnf install root python3-root root-minuit2  
‘’’  
And that did indeed the job, however i am having still some errors: like while trying to call a macro with the extension cpp++ it returns the error  
‘’’  
Warning in cling::IncrementalParser::CheckABICompatibility():  
Possible C++ standard library mismatch, compiled with **GLIBCXX** ‘20240411’  
Extraction of runtime standard library version was: ‘20240507’  
‘’’

I believe this may be due to some other missing packages, i am now trying to find the right packages while seeing the list sent by jonas.

Thanks for the answers! I’ll let you know soon if everything works out fine

EDIT: maybe it’s not due to missing packages, maybe it’s due to the compiler i’m trying to understand what’s off
