CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM Installation (https://www.cfd-online.com/Forums/openfoam-installation/)
-   -   [OpenFOAM.org] Problem in installing OpenFoam4.x on centOS (https://www.cfd-online.com/Forums/openfoam-installation/199805-problem-installing-openfoam4-x-centos.html)

radin_85 March 15, 2018 13:36

Problem in installing OpenFoam4.x on centOS
 
Hey every one,
I am trying to install OpenFOAM 4.x on my cluster account. the version of cluster Linux is CentOS 7
i am trying to install it by following:

http://openfoamwiki.net/index.php/In...CentOS_SL_RHEL

after building Cmake, (it is done without any error) and steps 10 and 11, i try to run makeCGAL, but the following error appears:

Code:

cmake: /home/osw_w17026597/OpenFOAM/ThirdParty-4.x/platforms/linux64/gcc-4.8.5/lib64/libstdc++.so.6: version `GLIBCXX_3.4.21' not found (required by cmake)
cmake: /home/osw_w17026597/OpenFOAM/ThirdParty-4.x/platforms/linux64/gcc-4.8.5/lib64/libstdc++.so.6: version `CXXABI_1.3.9' not found (required by cmake)
+ exit 1

i tried this trick as well:
Code:

mv $WM_THIRD_PARTY_DIR/platforms/$WM_ARCH$WM_ARCH_OPTION/gcc-4.8.5 $WM_THIRD_PARTY_DIR/platforms/linux64/gcc-4.8.5.bak
./makeCmake > log.makeCmake 2>&1
mv $WM_THIRD_PARTY_DIR/platforms/$WM_ARCH$WM_ARCH_OPTION/gcc-4.8.5.bak $WM_THIRD_PARTY_DIR/platforms/linux64/gcc-4.8.5
wmRefresh

but i get the same error.
i am really confused. does anyone has any idea what should i do?

wyldckat March 17, 2018 17:17

Quick answer: Sorry for the late reply, I don't know if you have solved this issue, but if not, please run the following commands:
Code:

cd $WM_THIRD_PARTY_DIR
gzip < log.makeCmake > log.makeCmake.gz

Then attach the file "log.makeCmake.gz" to your next post, because this will give us more details on what happened during the second build.

The second request is that you check what the following command gives you:
Code:

which cmake


All times are GMT -4. The time now is 18:06.