CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums

Building OpenFOAM 2.3.x on centOS 6.6

Register Blogs Community New Posts Updated Threads Search

Rating: 2 votes, 5.00 average.

Building OpenFOAM 2.3.x on centOS 6.6

Posted March 23, 2015 at 19:22 by donQi
Updated March 24, 2015 at 03:22 by donQi

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
Code:
  /usr/bin/ld: cannot find -lz
   collect2: error: ld returned 1 exit status
   make[2]: *** [dummysizes] Error 1
SOLUTION :
The problem with -lz will be solved by installing static version of zlib named zlib-static.
Code:
yum install zlib-static
Moreover install also glibc-static
Code:
yum install glibc-static
in this way after relaunching
Code:
./Allwmake > make-attempt2.log 2>&1
no more error messages and OF23x is up and running
Posted in Uncategorized
Views 4172 Comments 0 Edit Tags Email Blog Entry
« Prev     Main     Next »
Total Comments 0

Comments

 

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