CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM Installation (https://www.cfd-online.com/Forums/openfoam-installation/)
-   -   'GLIBC_2.3.4' not found (https://www.cfd-online.com/Forums/openfoam-installation/63245-glibc_2-3-4-not-found.html)

peterhuang April 2, 2009 01:57

'GLIBC_2.3.4' not found
 
Hi all,

Just downloaded OpenFOAM-1.5 and installed the package by following the README up to Step 5. When I ran foamInstallationTest it showed a few "no" here and there but did not complain about any error in particular. I then copied the tutorial files as instructed in Step 6 and here comes the problem: when I type in blockMesh I got the following error message:

blockMesh: /lib64/tls/libc.so.6: version `GLIBC_2.3.4' not found (required by /home/peterh/OpenFOAM/OpenFOAM-1.5/lib/linux64GccDPOpt/libOpenFOAM.so)

I am new to Linux so I could have made some mistake somewhere, the trouble is I'm not proficient enough to pin point the error. Is anyone having similar problem? Any help is appreciated, thank you in advance!

Additional Info: I'm running Red Hat Enterprise Linux so I've downloaded and installed the 64-bit packages. I've also attached the result from foamInstallationTest below:

Checking basic setup...
-------------------------------------------------------------------------------
Shell: bash
Host: cfddeepthought.vipac.com.au
OS: Linux version 2.4.21-37.ELsmp
-------------------------------------------------------------------------------


Checking main OpenFOAM env variables...
-------------------------------------------------------------------------------
Environment_variable Set_to_file_or_directory Valid Crit
-------------------------------------------------------------------------------
$WM_PROJECT_INST_DIR /home/peterh/OpenFOAM yes yes
$WM_PROJECT_USER_DIR /home/peterh/OpenFOAM/peterh-1.5 yes no
$WM_THIRD_PARTY_DIR /home/peterh/OpenFOAM/ThirdParty yes yes
-------------------------------------------------------------------------------


Checking the OpenFOAM env variables set on the PATH...
-------------------------------------------------------------------------------
Environment_variable Set_to_file_or_directory Valid Path Crit
-------------------------------------------------------------------------------
$WM_PROJECT_DIR /home/peterh/OpenFOAM/OpenFOAM-1.5 yes yes yes

$FOAM_APPBIN ...1.5/applications/bin/linux64GccDPOpt yes yes yes
$FOAM_USER_APPBIN ...1.5/applications/bin/linux64GccDPOpt yes yes no
$WM_DIR /home/peterh/OpenFOAM/OpenFOAM-1.5/wmake yes yes yes
-------------------------------------------------------------------------------


Checking the OpenFOAM env variables set on the LD_LIBRARY_PATH...
-------------------------------------------------------------------------------
Environment_variable Set_to_file_or_directory Valid Path Crit
-------------------------------------------------------------------------------
$FOAM_LIBBIN ...OAM/OpenFOAM-1.5/lib/linux64GccDPOpt yes yes yes
$FOAM_USER_LIBBIN ...nFOAM/peterh-1.5/lib/linux64GccDPOpt yes yes no
$MPI_ARCH_PATH ...nmpi-1.2.6/platforms/linux64GccDPOpt yes yes yes
-------------------------------------------------------------------------------


Third party software
-------------------------------------------------------------------------------
Software Version Location
-------------------------------------------------------------------------------
gcc 4.3.1 ...penFOAM/ThirdParty/gcc-4.3.1/platforms/linux64/bin/gcc
gzip 1.3.3 /usr/bin/gzip
tar 1.13.25 /bin/tar
icoFoam .../OpenFOAM-1.5/applications/bin/linux64GccDPOpt/icoFoam
-------------------------------------------------------------------------------


Checking networking...
-------------------------------------------------------------------------------
Action Result Crit
-------------------------------------------------------------------------------
...pthought.vipac.com.au Successful yes
Pinging_localHost Successful yes
Test_rsh: Unsuccessful_connection_refused* yes
Test_ssh: Successful yes
(*) Only one of rsh or ssh is required by the OpenFOAM enviroment.

-------------------------------------------------------------------------------

Base configuration ok.

Critical systems ok.


done.

lin April 2, 2009 10:40

I guess you should compile from source.

peterhuang April 2, 2009 19:44

Quote:

Originally Posted by lin (Post 211739)
I guess you should compile from source.

Thanks for the reply Lin.

Sorry for asking this trivial question (I've only started using Linux since 4 days ago): how do I compile from the source code?

I'm doing some tutorials to get myself up to speed with Linux, but I'm still very green at the moment and I have no idea how to compile from the source. I would really appreciate a step by step instruction on how to do this if it's available. :o

Ahmed April 8, 2009 20:23

Read the error message. A library is missing, so use the package manager on your system and install it.:confused:


All times are GMT -4. The time now is 05:09.