On 29/03/07, Marc Perkel <marc@???> wrote: > Having some problems compiling domain keys. Downloaded the library and
> ran make
>
> [root@bigdog libdomainkeys-0.68]# make
> gcc -DBIND_8_COMPAT -O2 -o dktest dktest.o -L. -ldomainkeys -lcrypto
> `cat dns.lib`
> ./libdomainkeys.a(dns_txt.o): In function `dns_text':
> dns_txt.c:(.text+0x4d): undefined reference to `__res_query'
> dns_txt.c:(.text+0xba): undefined reference to `__dn_expand'
> dns_txt.c:(.text+0x155): undefined reference to `__dn_expand'
> collect2: ld returned 1 exit status
> make: *** [dktest] Error 1
>
> Using FC6. What am I missing?