Hello,
I have a server with CentOS 7. Most of the users on the server need gcc version 4.8.
I installed from source (with --disable-multilib
prefix for 64-bit OS) gcc-13.1.0 in /tmp
directoy.
I edited the .bashrc
file for the user who need a newer gcc version to point to the gcc-13 location.
I also installed
centos-release-scl-rh
devtoolset-9-toolchain
devtoolset-9-gcc-gfortran devtoolset-9-gcc-c++
When I checked the ggc and the gfortran version, I can see
gcc (GCC) 13.1.0
GNU Fortran (GCC) 9.3.1 20200408 (Red Hat 9.3.1-2)
I downloaded the recommended binaray package - fluka-4-3.3.x86-Linux-gfor9.x86_64.rpm
When i run rpm -ivh fluka-4-3.3.x86-Linux-gfor9.x86_64.rpm
I have the following errors:
error: Failed dependencies:
libstdc++.so.6(CXXABI_1.3.8)(64bit) is needed by fluka-4-3.3.x86_64
libstdc++.so.6(CXXABI_1.3.9)(64bit) is needed by fluka-4-3.3.x86_64
libstdc++.so.6(GLIBCXX_3.4.21)(64bit) is needed by fluka-4-3.3.x86_64
I checked the CXXABI version and noticed I did not have the right version
CXXABI_1.3
CXXABI_1.3.1
CXXABI_1.3.2
CXXABI_1.3.3
CXXABI_1.3.4
CXXABI_1.3.5
CXXABI_1.3.6
CXXABI_1.3.7
CXXABI_TM_1
I copied the /libstdc++.so.6
file from the gcc-13 installation location /tmp/gcc/usr/local/lib64/libstdc++.so.6
to /usr/lib64
. Now I can see the newest version.
CXXABI_1.3
CXXABI_1.3.1
CXXABI_1.3.2
CXXABI_1.3.3
CXXABI_1.3.4
CXXABI_1.3.5
CXXABI_1.3.6
CXXABI_1.3.7
CXXABI_1.3.8
CXXABI_1.3.9
CXXABI_1.3.10
CXXABI_1.3.11
CXXABI_1.3.12
CXXABI_1.3.13
CXXABI_1.3.14
CXXABI_TM_1
CXXABI_FLOAT128
CXXABI_1.3
CXXABI_1.3.11
CXXABI_1.3.2
CXXABI_1.3.6
CXXABI_FLOAT128
CXXABI_1.3.12
CXXABI_1.3.9
CXXABI_1.3.1
CXXABI_1.3.5
CXXABI_1.3.8
CXXABI_1.3.13
CXXABI_1.3.4
CXXABI_TM_1
CXXABI_1.3.7
CXXABI_1.3.14
CXXABI_1.3.10
CXXABI_1.3.3
But when I tried to run the installation again i have the same error message.
error: Failed dependencies:
libstdc++.so.6(CXXABI_1.3.8)(64bit) is needed by fluka-4-3.3.x86_64
libstdc++.so.6(CXXABI_1.3.9)(64bit) is needed by fluka-4-3.3.x86_64
libstdc++.so.6(GLIBCXX_3.4.21)(64bit) is needed by fluka-4-3.3.x86_64
I am not a FLUKA user just a Sys Admin. I would greatly appreciate any tips and advice you can give me.
Thank you in advance for your help.