Closed tashrifbillah closed 4 days ago
Also, the prompt seems wrong. In Redhat 9, we have to yum install libstdc++
.
@ningfei may want to comment. In general, the static compile is more portable, as it can run in an environment where the library is not in the path. There is typically little difference in speed.
Actually, I have not been able to solve this issue despite yum install libstdc++
. I wonder if Redhat 9 moved the required library libstdc++.a
elsewhere or dcm2niix is not able to detect that due to any recent advancement. But I am trying.
You can check on https://pkgs.org to see which package contains libstdc++.a
. But it's also fine to turn it off. That's mainly for portability. You don't need a static build if you are only using it on the local machine.
It looks like libstdcc++-static is part of a different repository in Redhat 9:
I ended up using -DUSE_STATIC_RUNTIME=OFF
as I could not trust the different repository.
Hi Chris, if we set it to OFF, would there be any performance issue of dcm2niix?