Building OpenFOAM 2.3.x on centOS 6.6
I was following the instructions from
http://www.openfoam.org/download/git.php
to install the Repository Release Version 2.3.x on a centOS 6.6 machine.
But even after installing all the dependency packages written in the above link, I was getting the following error
SOLUTION :
The problem with -lz will be solved by installing static version of zlib named zlib-static.
Moreover install also glibc-static
in this way after relaunching
no more error messages and OF23x is up and running
http://www.openfoam.org/download/git.php
to install the Repository Release Version 2.3.x on a centOS 6.6 machine.
But even after installing all the dependency packages written in the above link, I was getting the following error
Code:
/usr/bin/ld: cannot find -lz collect2: error: ld returned 1 exit status make[2]: *** [dummysizes] Error 1
The problem with -lz will be solved by installing static version of zlib named zlib-static.
Code:
yum install zlib-static
Code:
yum install glibc-static
Code:
./Allwmake > make-attempt2.log 2>&1
Total Comments 0