[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

linker failure -- debuild fails -- please help



I'm trying to compile a program from debian src and have gcc 2.95 and
related libraries installed so why does gcc die on this line?

gcc -g -O2 -Wall -o .libs/vchkpw vchkpw.o vconfig.o
./.libs/libvpopmail.so -lfreecdb -lfreecdbmake -ldl
/usr/lib/libmysqlclient.so -lz -lm -lnsl -lcrypt
/usr/bin/ld: cannot find -lz
collect2: ld returned 1 exit status

freecdb and libmyslqclient are installed.  

Please advise, justin



Reply to: