|
[Sponsors] |
September 19, 2010, 10:53 |
Error "cannot find -lz"
|
#1 |
New Member
Yu
Join Date: Mar 2009
Location: USA
Posts: 11
Rep Power: 17 |
Hi,
I encountered compilation error when installing OpenFOAM 1.7.1 on my ubuntu 9.0.4 The error message was shown when entering the src/OpenFOAM folder, which is "cannnot find -lz" This was also shown when compiling Scotch decomposition library I am not sure what the z library is. I assumed it is zlib as I noticed that in my ThirdParty-1.7.1, there was not zlib-1.2.3 folder originally when unpacking the downloaded zip file. So, I manually installed z library. This solved other compilation errors when zlib.h was missing. However, the error due to "cannot find -lz" is still there. Does anyone have suggestion? Thanks very much in advance! |
|
September 19, 2010, 11:19 |
|
#2 |
New Member
Yu
Join Date: Mar 2009
Location: USA
Posts: 11
Rep Power: 17 |
Problem solved after copy libz.so to /usr/local/lib
|
|
September 19, 2010, 15:59 |
|
#3 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,975
Blog Entries: 45
Rep Power: 128 |
Greetings Yu Shi,
The package you were missing for libz is this: Code:
zlib1g-dev Best regards, Bruno
__________________
|
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
YPlus nowhere to be find | Daniel | CFX | 3 | May 1, 2006 16:22 |
How to find & view location of a node in CFX? | Bill | CFX | 2 | December 6, 2005 13:18 |
Can U find this Solution Report N°229 | Mohamed | FLUENT | 5 | June 19, 2003 03:28 |
a way to find out wall-neighboring cells? | Christian | FLUENT | 4 | May 10, 2002 08:30 |
Where can find airfoil data with pressure distribution or aerodynamic data | Ahlo | Main CFD Forum | 5 | January 12, 1999 22:45 |