NLnetLabs / ldns

LDNS is a DNS library that facilitates DNS tool programming
https://nlnetlabs.nl/ldns
BSD 3-Clause "New" or "Revised" License
301 stars 99 forks source link

ld: symbol(s) not found for architecture x86_64 #102

Open marty90 opened 4 years ago

marty90 commented 4 years ago

Hello, I am compiling from the tarball on Mac (Catalina 10.15 (19A602)).

I get the following:

Undefined symbols for architecture x86_64:
  "_ldns_rr_free", referenced from:
      _main in linktest.o
  "_ldns_rr_new", referenced from:
      _main in linktest.o
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make: *** [linktest] Error 1
wtoorop commented 2 years ago

Which tarball are you compiling from?