[Opendnssec-user] Re: Cannot compile trunk: error: undefined reference to 'ldns_rdf_new_frm_str'

Ondřej Surý ondrej at sury.org
Wed Mar 24 15:55:22 UTC 2010

On Wed, Mar 24, 2010 at 16:43, Stephane Bortzmeyer <bortzmeyer at nic.fr> wrote:
> On Wed, Mar 24, 2010 at 03:29:16PM +0100,
>  Ond?ej Surı <ondrej at sury.org> wrote
>  a message of 42 lines which said:
>> could you try not using ld.gold? This could be cause of your problems.
> Yes, it was. 'aptitude remove binutils-gold hardening-wrapper' solved
> the problem. Thanks but now, the real question: why?

Hardening-wrapper should be fine, but binutils-gold are quite picky
when linking. I think this line:

libtool: link: gcc -std=c99 -g -O2 -pedantic -Wall -Wextra -o
.libs/ods-hsmutil hsmutil.o hsmtest.o  ./.libs/libhsm.so -ldl

misses -lldns and apparently ods-hsmutil uses some of ldns symbols.

Ondřej Surý <ondrej at sury.org>

More information about the Opendnssec-user mailing list