CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM Installation (https://www.cfd-online.com/Forums/openfoam-installation/)
-   -   Problem starting a tutorial case (https://www.cfd-online.com/Forums/openfoam-installation/57586-problem-starting-tutorial-case.html)

alank December 12, 2006 15:54

I just installed OpenFOAM and
 
I just installed OpenFOAM and the associated third-party programs onto my Linux machine and successfully unpacked the files; the foamSystemCheck and foamInstallationTest scripts ran without errors. Following the README file, I tried to run the first tutorial case. Upon trying to run blockMesh . cavity, I got the following errors. Any recommendations on what I did wrong? Do I need to compile the OpenFOAM source code rather than using the supplied binary files?

blockMesh: /usr/lib/libstdc++.so.6: version `CXXABI_1.3.1' not found (required b y blockMesh)
blockMesh: /usr/lib/libstdc++.so.6: version `CXXABI_1.3.1' not found (required b y /home/alank/OpenFOAM/OpenFOAM-1.3/lib/linuxGcc4DPOpt/libmeshTools.so)
blockMesh: /usr/lib/libstdc++.so.6: version `CXXABI_1.3.1' not found (required b y /home/alank/OpenFOAM/OpenFOAM-1.3/lib/linuxGcc4DPOpt/libdynamicMesh.so)
blockMesh: /usr/lib/libstdc++.so.6: version `CXXABI_1.3.1' not found (required b y /home/alank/OpenFOAM/OpenFOAM-1.3/lib/linuxGcc4DPOpt/libOpenFOAM.so)
blockMesh: /usr/lib/libstdc++.so.6: version `CXXABI_1.3.1' not found (required b y /home/alank/OpenFOAM/OpenFOAM-1.3/lib/linuxGcc4DPOpt/libtriSurface.so)
blockMesh: /usr/lib/libstdc++.so.6: version `CXXABI_1.3.1' not found (required b y /home/alank/OpenFOAM/OpenFOAM-1.3/lib/linuxGcc4DPOpt/libfiniteVolume.so)

gschaider December 12, 2006 16:50

Welcome to DLL-hell (or in tha
 
Welcome to DLL-hell (or in that case .so). To make it possible to help you here please give us more details on "my Linux machine" (distribution etc).

One think that MIGHT help in my experience is relinking the executables. Try the following:

rm $FOAM_APPBIN/blockMesh
which blockMesh (should say that there is none)
cd $FOAM_APP
./Allwmake

If blockMesh works now, try removing all executables in $FOAM_APPBIN, go to $FOAM_APP, relink.


All times are GMT -4. The time now is 01:53.