getdnsapi / getdns

A modern asynchronous DNS API https://getdnsapi.net/
Other
461 stars 127 forks source link

Static linking issue #531

Open Philip-NLnetLabs opened 1 year ago

Philip-NLnetLabs commented 1 year ago

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 ofsecalgo_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 ofsecalgo_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 ofsecalgo_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 ofsecalgo_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 ofsecalgo_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 ofsvcparamkey_strs'; ../../getdns/libgetdns.a(wire2str.c.o):/home/philip/src/getdns/src/gldns/wire2str.c:227: first defined here