Hi list, 

Any help or pointer regarding a make failed as follow : 

# make 

[...] 

  CCLD     pmacct
  CC       pmacctd.o
  CCLD     pmacctd
/usr/bin/ld: cannot find -lz
collect2: error: ld returned 1 exit status
Makefile:787: recipe for target 'pmacctd' failed
make[2]: *** [pmacctd] Error 1
make[2]: Leaving directory '/opt/pmacct/github_src/pmacct/src'
Makefile:1260: recipe for target 'all-recursive' failed
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory '/opt/pmacct/github_src/pmacct/src'
Makefile:675: recipe for target 'all-recursive' failed
make: *** [all-recursive] Error 1 

Any missing libraries on an fresh install perhaps ? 

#/usr/bin/ld -lz -verbose 

[...]
==================================================
attempt to open //usr/local/lib/x86_64-linux-gnu/libz.so failed
attempt to open //usr/local/lib/x86_64-linux-gnu/libz.a failed
attempt to open //lib/x86_64-linux-gnu/libz.so failed
attempt to open //lib/x86_64-linux-gnu/libz.a failed
attempt to open //usr/lib/x86_64-linux-gnu/libz.so failed
attempt to open //usr/lib/x86_64-linux-gnu/libz.a failed
attempt to open //usr/lib/x86_64-linux-gnu64/libz.so failed
attempt to open //usr/lib/x86_64-linux-gnu64/libz.a failed
attempt to open //usr/local/lib64/libz.so failed
attempt to open //usr/local/lib64/libz.a failed
attempt to open //lib64/libz.so failed
attempt to open //lib64/libz.a failed
attempt to open //usr/lib64/libz.so failed
attempt to open //usr/lib64/libz.a failed
attempt to open //usr/local/lib/libz.so failed
attempt to open //usr/local/lib/libz.a failed
attempt to open //lib/libz.so failed
attempt to open //lib/libz.a failed
attempt to open //usr/lib/libz.so failed
attempt to open //usr/lib/libz.a failed
attempt to open //usr/x86_64-linux-gnu/lib64/libz.so failed
attempt to open //usr/x86_64-linux-gnu/lib64/libz.a failed
attempt to open //usr/x86_64-linux-gnu/lib/libz.so failed
attempt to open //usr/x86_64-linux-gnu/lib/libz.a failed
/usr/bin/ld: cannot find -lz 

-- 

FABIEN VINCENT
------------------------------------------------------------------- 
@beufanet
-------------------------------------------------------------------
_______________________________________________
pmacct-discussion mailing list
http://www.pmacct.net/#mailinglists

Reply via email to