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

Error by compiling scotch for OpenFOAM-1.6-ext

Register Blogs Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Display Modes
Old   November 29, 2010, 13:23
Default Error by compiling scotch for OpenFOAM-1.6-ext
  #1
New Member
 
Vilmar
Join Date: Nov 2010
Posts: 2
Rep Power: 0
Vitus is on a distinguished road
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 is offline   Reply With Quote

Old   November 29, 2010, 13:28
Default
  #2
New Member
 
Vilmar
Join Date: Nov 2010
Posts: 2
Rep Power: 0
Vitus is on a distinguished road
Ok,
problem is solved by installing zlib1g-dev!
Vitus is offline   Reply With Quote

Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Help Compiling OpenFOAM 1.6 on SGI Altix Machine deji OpenFOAM 11 February 16, 2011 12:10
Errors of compiling OF 1.6 on Fedora 12 maolongliu OpenFOAM Installation 2 May 1, 2010 03:11
ODETest.C Compiling failed in version 1.6 sxhdhi OpenFOAM Bugs 4 April 27, 2010 05:36
OpenFOAM 1.6 Compiling Error AustinK OpenFOAM Installation 16 April 2, 2010 10:37


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