CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM (https://www.cfd-online.com/Forums/openfoam/)
-   -   Error by compiling scotch for OpenFOAM-1.6-ext (https://www.cfd-online.com/Forums/openfoam/82552-error-compiling-scotch-openfoam-1-6-ext.html)

Vitus November 29, 2010 12:23

Error by compiling scotch for OpenFOAM-1.6-ext
 
Hallo,

I try to compile OpenFOAM-1.6-ext and the following failure by compiling scotch 5.1.10b appears:

make[2]: Entering directory /OpenFOAM/OpenFOAM-1.6-ext/ThirdParty/rpmBuild/BUILD/scotch_5.1.10b/src/libscotch'
gcc -O3 -fPIC -DCOMMON_FILE_COMPRESS_GZ -DCOMMON_PTHREAD -DCOMMON_RANDOM_FIXED_SEED -DSCOTCH_RENAME -DSCOTCH_RENAME_PARSER -DSCOTCH_PTHREAD -Drestrict=__restrict -DSCOTCH_VERSION=5 -DSCOTCH_RELEASE=1 -DSCOTCH_PATCHLEVEL=10 dummysizes.c -o dummysizes -lz -lm -lrt
/usr/bin/ld: cannot find -lz
collect2: ld returned 1 exit status
make[2]: *** [dummysizes] Error 1

can someone give a feedback to this problem?

Vitus November 29, 2010 12:28

Ok,
problem is solved by installing zlib1g-dev!


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