[getdns-api] Trouble with tests

W.C.A. Wijngaards wouter at nlnetlabs.nl
Tue Apr 8 06:53:28 MST 2014


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi Iain,

On 04/08/2014 03:34 PM, Iain R. Learmonth wrote:
> Hi,
> 
> I'm attempting to build a Debian package for getdns-0.1.1 but am
> having some trouble with the tests.
> 
> This is using the 0.1.1 release tarball.
> 
> It looks like there's something wrong with some linking?
> 
> Log: http://pastebin.com/cy1FV1bG
> 
> Any ideas?

- -lm -lrt is needed.  These are actually required by libcheck not by
libgetdnsapi, and thus this dependency is inherited by the make test
compilation.  You can postfix that to the LDLIBS=.. line in
src/test/Makefile to patch it up.   (or src/test/Makefile.in and
re-run configure).

On some platforms the compiler gets these dependencies, i.e. with
dynamic libraries.  Perhaps you have installed the static version of
libcheck or something of that sort?

Best regards,
   Wouter

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iQIcBAEBAgAGBQJTQ/9YAAoJEJ9vHC1+BF+NfwYP/iGFVhSZmqyCA1TRzro3mUFH
rTYkBbquTfLmsMPe054kTRjHzru9l0IMEoGJDysnq+Sy4/7xTrYCyhCl5sKWfiTf
XgHk66QRlf/n4Qt//k2vqM4DGahS1hX/PiN/3vQqSUdmuHkxMjVZec56PiAQCpuC
sQ4xql8rWFVOnXI9BdEkVjhgsHHEjVV5hL7GL0Wa1HuVrdAALy1KDp+aMc6nFM6Z
gwd4JXX5JyPKjNyHgFMdIO/nL/Z/cQwoZKo34ZFkQx7ChuybT57lEqslogi1HYm0
5faom2df5zJzUBjWguKWG1nuqHX3XVjbtOLNXq8zDuGt7x9zRAOdj9jvv0xYimBp
lEXMr5hmHyMvgzZ6KKcS/AgpHex1kdgC+XzFvc+Iq5unEA3TGneRqsiI4N1F12Fz
+57i8Idtix3FJu32Gs2PrYFOWkJLKLm/G7AURtw66wPAk8IryJKFuXUxgb9x4JBj
2xFpnq1UUkXCBX72ZtrIOHUv624oJc/iF8QhS5vDJESACr072OjrqiMTwoDsWVAZ
H7pquHp3kobNG6CLrusVlR3By699vWUIYC0RuF0/iQUF2pOwZPsVzLGEVWhA/Ff4
ayhiiTnlxDWhWDyw9E5SeaKKgOBUDpXbu2Y/Wj3p+69rRjMviwuhzmiLuFSo9Ckm
SvUZxKo1+BJexf/3rsGB
=TTYq
-----END PGP SIGNATURE-----


More information about the getdns-api mailing list