Checking for library z : not found

Checking for library z : not found

Postby fraang » 17 Jun 2011, 19:37

Can someone say me what exactly the z library is? :? I get this:

Checking for library z : not found

Thanks in advance.
fraang

EDIT:
This is is the output of the log;

{l Code}: {l Select All Code}
Checking for library z
==>

int main() {
   return 0;
}

<==
[1/2] c: .build/.conf_check_492e6b05908ca8fa01468db6f012a4a8/test.c -> .build/.conf_check_492e6b05908ca8fa01468db6f012a4a8/testbuild/test.c.0.o

['/usr/bin/gcc', '-DHAVE_DLFCN_H=1', '-DHAVE_FCNTL_H=1', '-DHAVE_INTTYPES_H=1', '-DHAVE_POLL_H=1', '-DHAVE_STDINT_H=1', '-DHAVE_SYS_INOTIFY_H=1', '-DHAVE_SYS_MMAN_H=1', '-DHAVE_SYS_STAT_H=1', '-DHAVE_SYS_TIME_H=1', '-DHAVE_SYS_WAIT_H=1', '-DHAVE_TIME_H=1', '-DHAVE_UNISTD_H=1', '-DHAVE_FORK=1', '-DHAVE_USLEEP=1', '../test.c', '-c', '-o', 'test.c.0.o']
[2/2] cprogram: .build/.conf_check_492e6b05908ca8fa01468db6f012a4a8/testbuild/test.c.0.o -> .build/.conf_check_492e6b05908ca8fa01468db6f012a4a8/testbuild/testprog

['/usr/bin/gcc', 'test.c.0.o', '-o', '/home/florian/lipsofsuna/.build/.conf_check_492e6b05908ca8fa01468db6f012a4a8/testbuild/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-lz']
err: /usr/bin/ld: cannot find -lz
collect2: ld returned 1 exit status

from /home/florian/lipsofsuna: Test does not build: Traceback (most recent call last):
  File "/home/florian/lipsofsuna/.waf-1.6.0-e5524c28be70385c31b054a6ebc3722a/waflib/Tools/c_config.py", line 419, in run_c_code
    bld.compile()
  File "/home/florian/lipsofsuna/.waf-1.6.0-e5524c28be70385c31b054a6ebc3722a/waflib/Build.py", line 187, in compile
    raise Errors.BuildError(self.producer.error)
BuildError: Build failed
 -> task failed (exit status 1):
   {task 155469996: cprogram test.c.0.o -> testprog}

not found
from /home/florian/lipsofsuna: The configuration failed
fraang
 
Posts: 121
Joined: 01 Nov 2010, 21:51

Re: Checking for library z : not found

Postby amuzen » 17 Jun 2011, 20:45

It's zlib. In Ubuntu the package you need is zlib1g-dev.
User avatar
amuzen
LoS Moderator
 
Posts: 327
Joined: 05 Dec 2009, 02:49

Re: Checking for library z : not found

Postby fraang » 17 Jun 2011, 20:51

Thanks for the reply. Works for me. :D
fraang
 
Posts: 121
Joined: 01 Nov 2010, 21:51

Who is online

Users browsing this forum: No registered users and 1 guest