libmesh requires zlib

I tried to install libmesh in my Kubuntu 7.10. It successfully configured and compiled (after I install g++). But when I type
make run_examples

it gives this error:
/usr/bin/ld: cannot find -lz

It seems that it requires zlib as well. So install by typing
sudo apt-get install zlib1g-dev

then I can run make run_examples

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: