getdns
getdns copied to clipboard
Static linking issue
Statically linking getdns and unbound gives the following errors:
/usr/bin/ld: val_secalgo.o (symbol from plugin): in function nsec3_hash_algo_si ze_supported': (.text+0x0): multiple definition of
secalgo_hash_create_sha384'; ../../getdns/l
ibgetdns.a(val_secalgo.c.o):/home/philip/src/getdns/src/tls/val_secalgo.c:174: f
irst defined here
/usr/bin/ld: val_secalgo.o (symbol from plugin): in function nsec3_hash_algo_si ze_supported': (.text+0x0): multiple definition of
secalgo_hash_create_sha512'; ../../getdns/l
ibgetdns.a(val_secalgo.c.o):/home/philip/src/getdns/src/tls/val_secalgo.c:179: first defined here
/usr/bin/ld: val_secalgo.o (symbol from plugin): in function nsec3_hash_algo_size_supported': (.text+0x0): multiple definition of
secalgo_hash_update'; ../../getdns/libgetdns.a(val_secalgo.c.o):/home/philip/src/getdns/src/tls/val_secalgo.c:184: first defined here
/usr/bin/ld: val_secalgo.o (symbol from plugin): in function nsec3_hash_algo_size_supported': (.text+0x0): multiple definition of
secalgo_hash_final'; ../../getdns/libgetdns.a(val_secalgo.c.o):/home/philip/src/getdns/src/tls/val_secalgo.c:191: first defined here
/usr/bin/ld: val_secalgo.o (symbol from plugin): in function nsec3_hash_algo_size_supported': (.text+0x0): multiple definition of
secalgo_hash_delete'; ../../getdns/libgetdns.a(val_secalgo.c.o):/home/philip/src/getdns/src/tls/val_secalgo.c:202: first defined here
/usr/bin/ld: wire2str.o (symbol from plugin): in function sldns_str_vprint': (.text+0x0): multiple definition of
svcparamkey_strs'; ../../getdns/libgetdns.a(wire2str.c.o):/home/philip/src/getdns/src/gldns/wire2str.c:227: first defined here