Re: linker failure -- debuild fails -- please help
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On Thursday 10 October 2002 20:23, justin cunningham wrote:
> 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
I think you will need to install zlib1g-dev.
You might also like to try running
apt-get build-dep <name-of-package>
to try and make sure you have any other required build-dependancies.
Regards,
Paul Cupis
- --
paul@cupis.co.uk
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.0 (GNU/Linux)
iD8DBQE9pdaHIzuKV+SHX/kRAvCBAJ97lSIWlkOCk4CQnCPfciRlx8n3PgCfWaTj
0lwVnUgAHr0CJTIv/LOFZBc=
=FZZ3
-----END PGP SIGNATURE-----
Reply to: