when emerging dsniff-2.3-r4 I get the following error: gcc -o dnsspoof dnsspoof.o pcaputil.o -lnsl -lrpcsvc -L. -lmissing -L/usr/lib -lpcap -L/usr/lib -lnet-1.0 dnsspoof.o: In function `dns_spoof': dnsspoof.c:(.text+0x5ab): undefined reference to `__dn_expand' dnsspoof.c:(.text+0x708): undefined reference to `__dn_comp' collect2: ld returned 1 exit status make: *** [dnsspoof] Error 1 If you run gcc -o dnsspoof dnsspoof.o pcaputil.o -lnsl -lrpcsvc -L. -lmissing -L/usr/lib -lpcap -L/usr/lib -lnet-1.0 -lresolv the command will work just fine and you can manually make and make install the rest. this should be placed in the ebuild. Reproducible: Always Steps to Reproduce: 1. emerge dsniff
I can confirm.
In -r5, along with ~amd64 keyword. Thanks for reporting.
Created attachment 161939 [details, diff] dsniff.patch
You shouldn't use append-ldflag for libs (it will not works with --as-needed for examples). I attached a patch to fix configure.in to use -lresolv only when we need it
*** Bug 226905 has been marked as a duplicate of this bug. ***
done